parent
c46b224ec4
commit
7ad641d106
|
@ -82,7 +82,7 @@ public class JwtITests {
|
||||||
.frameDecoder(PayloadDecoder.ZERO_COPY)
|
.frameDecoder(PayloadDecoder.ZERO_COPY)
|
||||||
.addSocketAcceptorPlugin(this.interceptor)
|
.addSocketAcceptorPlugin(this.interceptor)
|
||||||
.acceptor(this.handler.responder())
|
.acceptor(this.handler.responder())
|
||||||
.transport(TcpServerTransport.create("localhost", 7000))
|
.transport(TcpServerTransport.create("localhost", 0))
|
||||||
.start()
|
.start()
|
||||||
.block();
|
.block();
|
||||||
}
|
}
|
||||||
|
|
|
@ -75,7 +75,7 @@ public class RSocketMessageHandlerConnectionITests {
|
||||||
.frameDecoder(PayloadDecoder.ZERO_COPY)
|
.frameDecoder(PayloadDecoder.ZERO_COPY)
|
||||||
.addSocketAcceptorPlugin(this.interceptor)
|
.addSocketAcceptorPlugin(this.interceptor)
|
||||||
.acceptor(this.handler.responder())
|
.acceptor(this.handler.responder())
|
||||||
.transport(TcpServerTransport.create("localhost", 7000))
|
.transport(TcpServerTransport.create("localhost", 0))
|
||||||
.start()
|
.start()
|
||||||
.block();
|
.block();
|
||||||
}
|
}
|
||||||
|
|
|
@ -78,14 +78,14 @@ public class RSocketMessageHandlerITests {
|
||||||
.frameDecoder(PayloadDecoder.ZERO_COPY)
|
.frameDecoder(PayloadDecoder.ZERO_COPY)
|
||||||
.addSocketAcceptorPlugin(this.interceptor)
|
.addSocketAcceptorPlugin(this.interceptor)
|
||||||
.acceptor(this.handler.responder())
|
.acceptor(this.handler.responder())
|
||||||
.transport(TcpServerTransport.create("localhost", 7000))
|
.transport(TcpServerTransport.create("localhost", 0))
|
||||||
.start()
|
.start()
|
||||||
.block();
|
.block();
|
||||||
|
|
||||||
this.requester = RSocketRequester.builder()
|
this.requester = RSocketRequester.builder()
|
||||||
// .rsocketFactory(factory -> factory.addRequesterPlugin(payloadInterceptor))
|
// .rsocketFactory(factory -> factory.addRequesterPlugin(payloadInterceptor))
|
||||||
.rsocketStrategies(this.handler.getRSocketStrategies())
|
.rsocketStrategies(this.handler.getRSocketStrategies())
|
||||||
.connectTcp("localhost", 7000)
|
.connectTcp("localhost", this.server.address().getPort())
|
||||||
.block();
|
.block();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue