Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
import org.apache.ignite.lang.IgniteCallable;
import org.apache.ignite.lang.IgniteRunnable;
import org.apache.ignite.resources.IgniteInstanceResource;
import org.apache.ignite.testframework.GridTestUtils;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.junit.Test;

Expand Down Expand Up @@ -101,6 +102,11 @@ public void testAffinity() throws Exception {
// Expected error.
}

assertTrue("Failed to wait for minor version change",
GridTestUtils.waitForCondition(() ->
grid(0).context().discovery().topologyVersionEx().minorTopologyVersion() == 1,
5_000));
Comment on lines +105 to +108

checkAffinity(igniteNoCache);
}
}
Expand Down
Loading