sashapolo commented on code in PR #1659:
URL: https://github.com/apache/ignite-3/pull/1659#discussion_r1102729780
##########
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:
This stuff can be simplified by providing a text config, for example:
```
@InjectConfiguration("mock.port=" + RECEIVER_PORT)
private NetworkConfiguration receiverNetworkConfig;
```
--
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]