This commit is contained in:
Amos Bird 2021-01-07 11:31:23 +08:00
parent a32f6dcf1b
commit 63f0348291
No known key found for this signature in database
GPG Key ID: 80D430DCBECFEDB4

View File

@ -48,6 +48,7 @@ def test_default_database_on_cluster(started_cluster):
)
for node in [ch1, ch2]:
assert node.query("SHOW CREATE test_local_table FORMAT TSV").endswith(
"old_parts_lifetime = 100\n"
)
assert node.query(
database="test_default_database",
sql="SHOW CREATE test_local_table FORMAT TSV",
).endswith("old_parts_lifetime = 100\n")