Skip to content

Commit 586f122

Browse files
committed
Try fix tests
1 parent 34b5997 commit 586f122

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test_mysql_ch_replicator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def test_runner():
328328
PRIMARY KEY (id),
329329
SPATIAL KEY `coordinate` (`coordinate`)
330330
) ENGINE=InnoDB AUTO_INCREMENT=2478808 DEFAULT CHARSET=latin1;
331-
''')
331+
''', commit=True)
332332

333333

334334
mysql.execute(f'''
@@ -339,7 +339,7 @@ def test_runner():
339339
rate decimal(10,4),
340340
PRIMARY KEY (id)
341341
);
342-
''')
342+
''', commit=True)
343343

344344

345345
mysql.execute(f"INSERT INTO {TEST_TABLE_NAME} (name, age, coordinate) VALUES ('Ivan', 42, POINT(10.0, 20.0));", commit=True)

0 commit comments

Comments
 (0)