soulasuna commented on code in PR #19582:
URL: https://github.com/apache/shardingsphere/pull/19582#discussion_r930614202
##########
shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/ddl/BaseDDLIT.java:
##########
@@ -59,6 +61,14 @@ public final void init() throws Exception {
try (Connection connection = getTargetDataSource().getConnection()) {
executeInitSQLs(connection);
}
+ intervalTime();
+ }
+
+ @SneakyThrows(InterruptedException.class)
+ private void intervalTime() {
+ if ("Cluster".equalsIgnoreCase(getMode())) {
+ TimeUnit.MILLISECONDS.sleep(200);
Review Comment:
I will fix it.
##########
shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/ddl/BaseDDLIT.java:
##########
@@ -59,6 +61,14 @@ public final void init() throws Exception {
try (Connection connection = getTargetDataSource().getConnection()) {
executeInitSQLs(connection);
}
+ intervalTime();
+ }
+
+ @SneakyThrows(InterruptedException.class)
+ private void intervalTime() {
Review Comment:
I will fix it.
--
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]