mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
fix test_reloading_storage_configuration
This commit is contained in:
parent
1980e75a96
commit
50d013231c
@ -173,16 +173,14 @@ def test_update_disk(started_cluster):
|
||||
SETTINGS storage_policy='jbods_with_external'
|
||||
""".format(name=name, engine=engine))
|
||||
|
||||
assert node1.query( "SELECT path, keep_free_space FROM system.disks where name = '%s'" % (name)) == TSV([
|
||||
assert node1.query("SELECT path, keep_free_space FROM system.disks where name = 'jbod2'") == TSV([
|
||||
["/jbod2/", "10485760"]])
|
||||
|
||||
update_disk(node1, "jbod2", "/jbod2/", "20971520")
|
||||
node1.query("SYSTEM RELOAD CONFIG")
|
||||
|
||||
assert node1.query(
|
||||
"SELECT path, keep_free_space FROM system.disks where name = '%s'" % (name)) == TSV([
|
||||
assert node1.query("SELECT path, keep_free_space FROM system.disks where name = 'jbod2'") == TSV([
|
||||
["/jbod2/", "20971520"]])
|
||||
|
||||
finally:
|
||||
try:
|
||||
node1.query("DROP TABLE IF EXISTS {}".format(name))
|
||||
|
Loading…
Reference in New Issue
Block a user