mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fix test
This commit is contained in:
parent
1a95259182
commit
7361407ea5
@ -169,6 +169,23 @@ void KeeperConfigurationAndSettings::dump(WriteBufferFromOwnString & buf) const
|
||||
|
||||
writeText("async_replication=", buf);
|
||||
write_bool(coordination_settings->async_replication);
|
||||
|
||||
writeText("latest_logs_cache_size_threshold=", buf);
|
||||
write_int(coordination_settings->latest_logs_cache_size_threshold);
|
||||
writeText("commit_logs_cache_size_threshold=", buf);
|
||||
write_int(coordination_settings->commit_logs_cache_size_threshold);
|
||||
|
||||
writeText("disk_move_retries_wait_ms=", buf);
|
||||
write_int(coordination_settings->disk_move_retries_wait_ms);
|
||||
writeText("disk_move_retries_during_init=", buf);
|
||||
write_int(coordination_settings->disk_move_retries_during_init);
|
||||
|
||||
writeText("log_slow_total_threshold_ms=", buf);
|
||||
write_int(coordination_settings->log_slow_total_threshold_ms);
|
||||
writeText("log_slow_cpu_threshold_ms=", buf);
|
||||
write_int(coordination_settings->log_slow_cpu_threshold_ms);
|
||||
writeText("log_slow_connection_operation_threshold_ms=", buf);
|
||||
write_int(coordination_settings->log_slow_connection_operation_threshold_ms);
|
||||
}
|
||||
|
||||
KeeperConfigurationAndSettingsPtr
|
||||
|
@ -293,6 +293,16 @@ def test_cmd_conf(started_cluster):
|
||||
assert result["configuration_change_tries_count"] == "20"
|
||||
|
||||
assert result["async_replication"] == "true"
|
||||
|
||||
assert result["latest_logs_cache_size_threshold"] == "1073741824"
|
||||
assert result["commit_logs_cache_size_threshold"] == "524288000"
|
||||
|
||||
assert result["disk_move_retries_wait_ms"] == "1000"
|
||||
assert result["disk_move_retries_during_init"] == "100"
|
||||
|
||||
assert result["log_slow_total_threshold_ms"] == "5000"
|
||||
assert result["log_slow_cpu_threshold_ms"] == "5000"
|
||||
assert result["log_slow_connection_operation_threshold_ms"] == "1000"
|
||||
finally:
|
||||
close_keeper_socket(client)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user