File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed
iotdb-client/client-py/tests/integration Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -55,13 +55,17 @@ def session_test(use_session_pool=False):
5555
5656 session_pool = TableSessionPool (
5757 config = {
58- "node_urls" : f"{ db .get_container_host_ip ()} :{ db .get_exposed_port (6667 )} "
58+ "node_urls" : [
59+ f"{ db .get_container_host_ip ()} :{ db .get_exposed_port (6667 )} " ,
60+ ]
5961 }
6062 )
6163 else :
6264 session = TableSession (
6365 config = {
64- "node_urls" : f"{ db .get_container_host_ip ()} :{ db .get_exposed_port (6667 )} "
66+ "node_urls" : [
67+ f"{ db .get_container_host_ip ()} :{ db .get_exposed_port (6667 )} " ,
68+ ]
6569 }
6670 )
6771
Original file line number Diff line number Diff line change @@ -32,7 +32,9 @@ def test_insert_use_tablet():
3232 db : IoTDBContainer
3333 session = TableSession (
3434 config = {
35- "node_urls" : f"{ db .get_container_host_ip ()} :{ db .get_exposed_port (6667 )} "
35+ "node_urls" : [
36+ f"{ db .get_container_host_ip ()} :{ db .get_exposed_port (6667 )} " ,
37+ ]
3638 }
3739 )
3840
@@ -623,7 +625,9 @@ def test_insert_relational_tablet_use_numpy_tablet():
623625 db : IoTDBContainer
624626 session = TableSession (
625627 config = {
626- "node_urls" : f"{ db .get_container_host_ip ()} :{ db .get_exposed_port (6667 )} "
628+ "node_urls" : [
629+ f"{ db .get_container_host_ip ()} :{ db .get_exposed_port (6667 )} " ,
630+ ]
627631 }
628632 )
629633
@@ -1106,7 +1110,9 @@ def test_insert_relational_tablet_auto_create():
11061110 db : IoTDBContainer
11071111 session = TableSession (
11081112 config = {
1109- "node_urls" : f"{ db .get_container_host_ip ()} :{ db .get_exposed_port (6667 )} "
1113+ "node_urls" : [
1114+ f"{ db .get_container_host_ip ()} :{ db .get_exposed_port (6667 )} " ,
1115+ ]
11101116 }
11111117 )
11121118
You can’t perform that action at this time.
0 commit comments