alex-plekhanov commented on code in PR #12573:
URL: https://github.com/apache/ignite/pull/12573#discussion_r2609325291
##########
modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/integration/SqlDiagnosticIntegrationTest.java:
##########
@@ -1136,6 +1145,16 @@ public static boolean waitLatch(long time) {
return true;
}
+ /** */
+ @QuerySqlFunction
+ public static boolean sleep(int sleep) {
Review Comment:
To reuse latch we need latch creation, async query execution, etc. I think
using "sleep" here is much simplier.
##########
modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/LongRunningQueryTest.java:
##########
@@ -517,6 +520,36 @@ public void
testEmptyHeavyQueriesTrackerWithMultipleCancelledQueries() {
cancelQuery(qryIds.poll());
}
+ /**
+ * Verifies query initiator id information in logs.
+ */
+ @Test
+ @MultiNodeTest
+ public void testQueryInitiatorId() throws Exception {
Review Comment:
Fixed
--
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]