JingGe commented on a change in pull request #17888:
URL: https://github.com/apache/flink/pull/17888#discussion_r759263031
##########
File path:
flink-connectors/flink-connector-hbase-2.2/src/test/java/org/apache/flink/connector/hbase2/HBaseConnectorITCase.java
##########
@@ -270,7 +282,13 @@ public void testTableSink() throws Exception {
+ "FROM "
+ TEST_TABLE_2
+ " AS h");
- List<Row> results =
CollectionUtil.iteratorToList(table.execute().collect());
+
+ TableResult tableResult2 = table.execute();
+ // wait to finish
+ tableResult2.await();
+
+ List<Row> results =
CollectionUtil.iteratorToList(tableResult2.collect());
Review comment:
Found a new way to wait the query to be finished. Please take a look.
--
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]