You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2023/11/17 11:04:40 UTC
(iotdb) 01/01: Try to fix IT
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch try_fix_ut
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit ed961b983a7eea57dbe64a201f20c0ade2ead0ea
Author: HTHou <hh...@outlook.com>
AuthorDate: Fri Nov 17 19:03:59 2023 +0800
Try to fix IT
---
.github/workflows/cluster-it-1c1d.yml | 1 +
.github/workflows/cluster-it-1c3d.yml | 1 +
.../java/org/apache/iotdb/itbase/runtime/ClusterTestStatement.java | 4 ++--
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/cluster-it-1c1d.yml b/.github/workflows/cluster-it-1c1d.yml
index f91732e6909..1160d1feb33 100644
--- a/.github/workflows/cluster-it-1c1d.yml
+++ b/.github/workflows/cluster-it-1c1d.yml
@@ -5,6 +5,7 @@ on:
branches:
- master
- 'rel/1.*'
+ - try_fix_ut
paths-ignore:
- 'docs/**'
- 'site/**'
diff --git a/.github/workflows/cluster-it-1c3d.yml b/.github/workflows/cluster-it-1c3d.yml
index c6b3fced9cd..67f0e85d509 100644
--- a/.github/workflows/cluster-it-1c3d.yml
+++ b/.github/workflows/cluster-it-1c3d.yml
@@ -5,6 +5,7 @@ on:
branches:
- master
- 'rel/1.*'
+ - try_fix_ut
paths-ignore:
- 'docs/**'
- 'site/**'
diff --git a/integration-test/src/main/java/org/apache/iotdb/itbase/runtime/ClusterTestStatement.java b/integration-test/src/main/java/org/apache/iotdb/itbase/runtime/ClusterTestStatement.java
index 032015f15ad..163b0ff5a5c 100644
--- a/integration-test/src/main/java/org/apache/iotdb/itbase/runtime/ClusterTestStatement.java
+++ b/integration-test/src/main/java/org/apache/iotdb/itbase/runtime/ClusterTestStatement.java
@@ -17,7 +17,7 @@
* under the License.
*/
package org.apache.iotdb.itbase.runtime;
-
+g
import org.apache.iotdb.jdbc.Config;
import java.sql.Connection;
@@ -31,7 +31,7 @@ import java.util.List;
/** The implementation of {@link ClusterTestStatement} in cluster test. */
public class ClusterTestStatement implements Statement {
- private static final int DEFAULT_QUERY_TIMEOUT = 60;
+ private static final int DEFAULT_QUERY_TIMEOUT = 120;
private final Statement writeStatement;
private final String writEndpoint;
private final List<Statement> readStatements = new ArrayList<>();