mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Remove time.sleep
from test
This commit is contained in:
parent
b49452fb45
commit
511cfb393d
@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import time
|
||||
import pytest
|
||||
import requests
|
||||
|
||||
@ -61,7 +60,7 @@ def test_http_readiness_partitioned_cluster(started_cluster):
|
||||
follower = keeper_utils.get_any_follower(cluster, [node1, node2, node3])
|
||||
|
||||
pm.partition_instances(leader, follower)
|
||||
time.sleep(3)
|
||||
keeper_utils.wait_until_quorum_lost(cluster, follower)
|
||||
|
||||
response = requests.get(
|
||||
"http://{host}:{port}/ready".format(host=follower.ip_address, port=9182)
|
||||
|
Loading…
Reference in New Issue
Block a user