File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
modules/core/src/test/java/org/apache/ignite/internal/binary Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 3636import org .apache .ignite .lang .IgniteCallable ;
3737import org .apache .ignite .lang .IgniteRunnable ;
3838import org .apache .ignite .resources .IgniteInstanceResource ;
39+ import org .apache .ignite .testframework .GridTestUtils ;
3940import org .apache .ignite .testframework .junits .common .GridCommonAbstractTest ;
4041import org .junit .Test ;
4142
@@ -101,6 +102,11 @@ public void testAffinity() throws Exception {
101102 // Expected error.
102103 }
103104
105+ assertTrue ("Failed to wait for minor version change" ,
106+ GridTestUtils .waitForCondition (() ->
107+ grid (0 ).context ().discovery ().topologyVersionEx ().minorTopologyVersion () == 1 ,
108+ 5_000 ));
109+
104110 checkAffinity (igniteNoCache );
105111 }
106112 }
You can’t perform that action at this time.
0 commit comments