From b8f1b77383daa2912410e8c3670c55cbaab13f0d Mon Sep 17 00:00:00 2001 From: bjmb Date: Thu, 27 Apr 2017 15:06:26 -0400 Subject: [PATCH] Added possible fix to test_unavailable --- tests/integration/standard/test_metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/standard/test_metrics.py b/tests/integration/standard/test_metrics.py index 02689d10..8882a58b 100644 --- a/tests/integration/standard/test_metrics.py +++ b/tests/integration/standard/test_metrics.py @@ -146,7 +146,7 @@ class MetricsTests(unittest.TestCase): # Sometimes this commands continues with the other nodes having not noticed # 1 is down, and a Timeout error is returned instead of an Unavailable get_node(1).stop(wait=True, wait_other_notice=True) - + time.sleep(5) try: # Test write query = SimpleStatement("INSERT INTO test (k, v) VALUES (2, 2)", consistency_level=ConsistencyLevel.ALL)