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 2022/06/29 02:46:15 UTC
[iotdb] 03/03: Try to make python CI stable
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch try_wal_ci
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 8aad8d7bfad17ac46a8d418b5d7e84fdbe96f73e
Author: HTHou <hh...@outlook.com>
AuthorDate: Mon Jun 13 10:00:30 2022 +0800
Try to make python CI stable
---
client-py/tests/test_aligned_timeseries.py | 2 +-
client-py/tests/test_dataframe.py | 4 ++--
client-py/tests/test_one_device.py | 2 +-
client-py/tests/test_session.py | 2 +-
client-py/tests/test_tablet.py | 4 ++--
client-py/tests/test_template.py | 2 +-
client-py/tests/test_todf.py | 6 +++---
7 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/client-py/tests/test_aligned_timeseries.py b/client-py/tests/test_aligned_timeseries.py
index ef57af5f59..45465651a3 100644
--- a/client-py/tests/test_aligned_timeseries.py
+++ b/client-py/tests/test_aligned_timeseries.py
@@ -41,7 +41,7 @@ def print_message(message):
def test_aligned_timeseries():
- with IoTDBContainer("iotdb:dev") as db:
+ with IoTDBContainer("iotdb") as db:
db: IoTDBContainer
session = Session(db.get_container_host_ip(), db.get_exposed_port(6667))
session.open(False)
diff --git a/client-py/tests/test_dataframe.py b/client-py/tests/test_dataframe.py
index 225556eed3..4ae5843631 100644
--- a/client-py/tests/test_dataframe.py
+++ b/client-py/tests/test_dataframe.py
@@ -23,7 +23,7 @@ from numpy.testing import assert_array_equal
def test_simple_query():
- with IoTDBContainer("iotdb:dev") as db:
+ with IoTDBContainer("iotdb") as db:
db: IoTDBContainer
session = Session(db.get_container_host_ip(), db.get_exposed_port(6667))
session.open(False)
@@ -42,7 +42,7 @@ def test_simple_query():
def test_non_time_query():
- with IoTDBContainer("iotdb:dev") as db:
+ with IoTDBContainer("iotdb") as db:
db: IoTDBContainer
session = Session(db.get_container_host_ip(), db.get_exposed_port(6667))
session.open(False)
diff --git a/client-py/tests/test_one_device.py b/client-py/tests/test_one_device.py
index c364cd1105..1e8a88ef32 100644
--- a/client-py/tests/test_one_device.py
+++ b/client-py/tests/test_one_device.py
@@ -40,7 +40,7 @@ def print_message(message):
def test_one_device():
- with IoTDBContainer("iotdb:dev") as db:
+ with IoTDBContainer("iotdb") as db:
db: IoTDBContainer
session = Session(db.get_container_host_ip(), db.get_exposed_port(6667))
session.open(False)
diff --git a/client-py/tests/test_session.py b/client-py/tests/test_session.py
index 6ecd14205c..3e20021161 100644
--- a/client-py/tests/test_session.py
+++ b/client-py/tests/test_session.py
@@ -44,7 +44,7 @@ def print_message(message):
def test_session():
- with IoTDBContainer("iotdb:dev") as db:
+ with IoTDBContainer("iotdb") as db:
db: IoTDBContainer
session = Session(db.get_container_host_ip(), db.get_exposed_port(6667))
session.open(False)
diff --git a/client-py/tests/test_tablet.py b/client-py/tests/test_tablet.py
index fcb5513367..2902c4ec3d 100644
--- a/client-py/tests/test_tablet.py
+++ b/client-py/tests/test_tablet.py
@@ -26,7 +26,7 @@ from iotdb.utils.Tablet import Tablet
def test_tablet_insertion():
- with IoTDBContainer("iotdb:dev") as db:
+ with IoTDBContainer("iotdb") as db:
db: IoTDBContainer
session = Session(db.get_container_host_ip(), db.get_exposed_port(6667))
session.open(False)
@@ -68,7 +68,7 @@ def test_tablet_insertion():
def test_nullable_tablet_insertion():
- with IoTDBContainer("iotdb:dev") as db:
+ with IoTDBContainer("iotdb") as db:
db: IoTDBContainer
session = Session(db.get_container_host_ip(), db.get_exposed_port(6667))
session.open(False)
diff --git a/client-py/tests/test_template.py b/client-py/tests/test_template.py
index 0b8a84aefd..a400e6ae0b 100644
--- a/client-py/tests/test_template.py
+++ b/client-py/tests/test_template.py
@@ -24,7 +24,7 @@ from iotdb.utils.IoTDBConstants import TSDataType, Compressor, TSEncoding
def test_template_create():
- with IoTDBContainer("iotdb:dev") as db:
+ with IoTDBContainer("iotdb") as db:
db: IoTDBContainer
session = Session(db.get_container_host_ip(), db.get_exposed_port(6667))
session.open(False)
diff --git a/client-py/tests/test_todf.py b/client-py/tests/test_todf.py
index feedcb3228..3d1a1b1dcd 100644
--- a/client-py/tests/test_todf.py
+++ b/client-py/tests/test_todf.py
@@ -65,7 +65,7 @@ def create_ts(session):
def test_simple_query():
- with IoTDBContainer("iotdb:dev") as db:
+ with IoTDBContainer("iotdb") as db:
db: IoTDBContainer
session = Session(db.get_container_host_ip(), db.get_exposed_port(6667))
session.open(False)
@@ -101,7 +101,7 @@ def test_simple_query():
def test_with_null_query():
- with IoTDBContainer("iotdb:dev") as db:
+ with IoTDBContainer("iotdb") as db:
db: IoTDBContainer
session = Session(db.get_container_host_ip(), db.get_exposed_port(6667))
session.open(False)
@@ -180,7 +180,7 @@ def test_with_null_query():
def test_multi_fetch():
- with IoTDBContainer("iotdb:dev") as db:
+ with IoTDBContainer("iotdb") as db:
db: IoTDBContainer
session = Session(db.get_container_host_ip(), db.get_exposed_port(6667))
session.open(False)