Skip to content

Commit d24957c

Browse files
committed
Disable executemany() tests when running against MaxScale.
1 parent b745643 commit d24957c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/integration/test_cursor.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,8 @@ def test_conpy47(self):
794794
del con
795795

796796
def test_conpy48(self):
797+
if os.environ.get("MAXSCALE_VERSION"):
798+
self.skipTest("MAXSCALE doesn't support BULK yet")
797799
con= create_connection()
798800
cur=con.cursor()
799801
cur.execute("select %s", [True])
@@ -872,6 +874,8 @@ def test_conpy53(self):
872874
del con
873875

874876
def test_conpy58(self):
877+
if os.environ.get("MAXSCALE_VERSION"):
878+
self.skipTest("MAXSCALE doesn't support BULK yet")
875879
con= create_connection()
876880
cursor=con.cursor()
877881
cursor.execute("SELECT %(val)s", {"val" : 3})
@@ -959,6 +963,8 @@ def test_negative_numbers(self):
959963
con.close()
960964

961965
def test_none_val(self):
966+
if os.environ.get("MAXSCALE_VERSION"):
967+
self.skipTest("MAXSCALE doesn't support BULK yet")
962968
con= create_connection()
963969
cur = con.cursor()
964970
cur.execute("CREATE TEMPORARY TABLE t1 (a int)")

0 commit comments

Comments
 (0)