Skip to content

Commit e7b9327

Browse files
vldpyatkovzstan
authored andcommitted
IGNITE-27889 Test TcpDiscoveryCoordinatorFailureTest#testClusterFailedNewCoordinatorInitialized hangs and locks suite SPI(Discovery) until timeout (#12755)
(cherry picked from commit adce365)
1 parent 01704ee commit e7b9327

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMulticastTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public void testClientStart() throws Exception {
122122

123123
discoPort.set(TcpDiscoverySpi.DFLT_PORT);
124124

125-
Ignite client = fut.get();
125+
Ignite client = fut.get(10_000);
126126

127127
final CountDownLatch reconnectLatch = new CountDownLatch(1);
128128

modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoveryCoordinatorFailureTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ public void testClusterFailedNewCoordinatorInitialized() throws Exception {
167167
2, grid(3).cluster().localNode().order());
168168
}
169169
finally {
170+
stallSpi.stopStall();
171+
170172
stopAllGrids();
171173
}
172174
}

0 commit comments

Comments
 (0)