Update test.py

This commit is contained in:
alesapin 2020-12-23 15:05:55 +03:00 committed by GitHub
parent af53559b4f
commit 28aef2ddd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -431,9 +431,9 @@ def test_in_memory_wal(start_cluster):
node11.exec_in_container(['bash', '-c', 'test -s {}'.format(wal_file)])
# Check file exists
node11.exec_in_container(['bash', '-c', 'test -f {}'.format(broken_wal_file)])
# Data is lost without WAL
node11.query("ALTER TABLE wal_table MODIFY SETTING in_memory_parts_enable_wal = 0")
with PartitionManager() as pm:
pm.partition_instances(node11, node12)