PakhomovAlexander commented on code in PR #1659:
URL: https://github.com/apache/ignite-3/pull/1659#discussion_r1102734698
##########
modules/network/src/test/java/org/apache/ignite/network/DefaultMessagingServiceTest.java:
##########
@@ -102,10 +90,9 @@ class DefaultMessagingServiceTest {
);
@BeforeEach
- void setUp() {
- configureSender();
- configureReceiver();
-
+ void setUp() throws InterruptedException, ExecutionException {
+ senderNetworkConfig.port().update(SENDER_PORT).get();
Review Comment:
Awesome! I tried another variant and got NPE
`@InjectConfiguration("network.port=" + RECEIVER_PORT)`. Your variant works.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]