rpuch commented on code in PR #2093:
URL: https://github.com/apache/ignite-3/pull/2093#discussion_r1206604680
##########
modules/sql-engine/src/test/java/org/apache/ignite/internal/sql/engine/planner/HashIndexPlannerTest.java:
##########
@@ -64,13 +65,17 @@ public void hashIndexIsAppliedForEquiCondition() throws
Exception {
assertThat(invalidPlanMsg, scan.indexName(), equalTo(indexName));
}
+ private static IgniteDistribution affinity() {
+ return IgniteDistributions.affinity(0, new Random().nextInt(),
DEFAULT_ZONE_ID);
Review Comment:
Originally there was a random table ID, so it makes sense to make sure that
the table IDs are different at each call. Random IDs don't guarantee
uniqueness, so I changed it to using a global counter.
--
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]