Skip to content

Commit 0204108

Browse files
committed
Try fix tests 2
1 parent 9a74eae commit 0204108

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

test_mysql_ch_replicator.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,6 @@ def test_e2e_regular(config_file):
138138
if config_file == CONFIG_FILE_MARIADB:
139139
create_query = ch.show_create_table(TEST_TABLE_NAME)
140140
assert 'PARTITION BY intDiv(id, 1000000)' in create_query, f"Custom partition_by not found in CREATE TABLE query: {create_query}"
141-
else:
142-
# Verify that the table was created successfully with default partitioning
143-
create_query = ch.show_create_table(TEST_TABLE_NAME)
144-
assert 'PARTITION BY intDiv(id, 4294967)' in create_query, f"Default partition_by not found in CREATE TABLE query: {create_query}"
145141

146142
mysql.execute(f"INSERT INTO `{TEST_TABLE_NAME}` (name, age) VALUES ('Filipp', 50);", commit=True)
147143
assert_wait(lambda: len(ch.select(TEST_TABLE_NAME)) == 3)

tests_config.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@ indexes:
2828
tables: ['group']
2929
index: 'INDEX name_idx name TYPE ngrambf_v1(5, 65536, 4, 0) GRANULARITY 1'
3030

31-
partition_bys:
32-
- databases: 'replication-test_db'
33-
tables: ['test_table']
34-
partition_by: 'intDiv(id, 1000000)'
35-
36-
37-
3831
http_host: 'localhost'
3932
http_port: 9128
4033

0 commit comments

Comments
 (0)