zstan commented on code in PR #13793:
URL: https://github.com/apache/ignite/pull/13793#discussion_r4493213372
##########
modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/integration/SqlDiagnosticIntegrationTest.java:
##########
@@ -737,8 +737,11 @@ public void testSensitiveInformationHiding() throws
Exception {
}
});
- assertEquals(13, qryCnt.get()); // CREATE AS SELECT counts as two
queries.
- assertEquals(8, planCnt.get()); // DDL queries don't produce
plans, except CREATE AS SELECT.
+ // CREATE AS SELECT counts as two queries.
+ assertTrue("qryCnt = " + qryCnt.get(), waitForCondition(() ->
qryCnt.get() == 13, 5_000));
+
+ // DDL queries don't produce plans, except CREATE AS SELECT.
+ assertTrue("planCnt = " + planCnt.get(), waitForCondition(() ->
planCnt.get() == 8, 5_000));
Review Comment:
mention test - not related to this activity, fix as you suggest
--
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]