This is an automated email from the ASF dual-hosted git repository.

mck pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git


The following commit(s) were added to refs/heads/master by this push:
     new 981ac73  fixed flakey tests in  replication_tests.py (CASSANDRA-15605)
981ac73 is described below

commit 981ac73a6174208adb3ec8de467e8558db9f0184
Author: Ryan Svihla <[email protected]>
AuthorDate: Wed Mar 11 17:11:55 2020 +0000

    fixed flakey tests in  replication_tests.py (CASSANDRA-15605)
---
 replication_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/replication_test.py b/replication_test.py
index 69287d6..8943961 100644
--- a/replication_test.py
+++ b/replication_test.py
@@ -348,7 +348,7 @@ class TestSnitchConfigurationUpdate(Tester):
                     m = regex.match(line)
                     if m:
                         racks.append(m.group(1))
-
+                racks.sort() #order is not deterministic
                 if racks == expected_racks:
                     # great, the topology change is propagated
                     logger.debug("Topology change detected on node 
{}".format(i))


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to