Added possible fix to test_unavailable
This commit is contained in:
@@ -146,7 +146,7 @@ class MetricsTests(unittest.TestCase):
|
|||||||
# Sometimes this commands continues with the other nodes having not noticed
|
# Sometimes this commands continues with the other nodes having not noticed
|
||||||
# 1 is down, and a Timeout error is returned instead of an Unavailable
|
# 1 is down, and a Timeout error is returned instead of an Unavailable
|
||||||
get_node(1).stop(wait=True, wait_other_notice=True)
|
get_node(1).stop(wait=True, wait_other_notice=True)
|
||||||
|
time.sleep(5)
|
||||||
try:
|
try:
|
||||||
# Test write
|
# Test write
|
||||||
query = SimpleStatement("INSERT INTO test (k, v) VALUES (2, 2)", consistency_level=ConsistencyLevel.ALL)
|
query = SimpleStatement("INSERT INTO test (k, v) VALUES (2, 2)", consistency_level=ConsistencyLevel.ALL)
|
||||||
|
|||||||
Reference in New Issue
Block a user