You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by mc...@apache.org on 2020/03/14 12:29:46 UTC

[cassandra-dtest] branch master updated: fixed flakey tests in replication_tests.py (CASSANDRA-15605)

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 <43...@users.noreply.github.com>
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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org