Skip to content

Commit 04a30a8

Browse files
authored
IGNITE-26861 Fixed flaky IgniteCacheClientNodeChangingTopologyTest.testPessimisticTxNearEnabled (#12478)
1 parent 06301d5 commit 04a30a8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteCacheClientNodeChangingTopologyTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,8 @@ private void pessimisticTx(NearCacheConfiguration nearCfg) throws Exception {
573573

574574
ignite3.close();
575575

576+
awaitPartitionMapExchange();
577+
576578
for (int i = 0; i < 100; i++)
577579
map.put(i, i + 1);
578580

@@ -596,14 +598,14 @@ private void pessimisticTx(NearCacheConfiguration nearCfg) throws Exception {
596598

597599
startGrid(3);
598600

601+
awaitPartitionMapExchange();
602+
599603
log.info("Stop block2.");
600604

601605
spi.stopBlock();
602606

603607
putFut.get();
604608

605-
awaitPartitionMapExchange();
606-
607609
checkData(map, null, cache, 4);
608610

609611
for (int i = 0; i < 100; i++)

0 commit comments

Comments
 (0)