You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by br...@apache.org on 2020/11/20 13:49:28 UTC

[cassandra] branch trunk updated: Fix flaky NodeToolRingTest.

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

brandonwilliams pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 732ac9a  Fix flaky NodeToolRingTest.
732ac9a is described below

commit 732ac9ae0c5e8c0868d207dbece5067d0bd4029d
Author: Brandon Williams <br...@apache.org>
AuthorDate: Fri Nov 20 07:48:32 2020 -0600

    Fix flaky NodeToolRingTest.
    
    Patch by Berenguer Blasi, reviwewed by brandonwilliams for
    CASSANDRA-16293
---
 .../org/apache/cassandra/distributed/test/NodeToolRingTest.java        | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/distributed/org/apache/cassandra/distributed/test/NodeToolRingTest.java b/test/distributed/org/apache/cassandra/distributed/test/NodeToolRingTest.java
index 008dd6b..74f4275 100644
--- a/test/distributed/org/apache/cassandra/distributed/test/NodeToolRingTest.java
+++ b/test/distributed/org/apache/cassandra/distributed/test/NodeToolRingTest.java
@@ -147,7 +147,8 @@ public class NodeToolRingTest extends TestBaseImpl
             Assertions.assertThat(tool.getStdout())
                       .contains("Datacenter: datacenter0")
                       .contains("Address    Rack        Status State   Load            Owns                Token")
-                      .contains("localhost  rack0       Up     Normal")
+                      .contains("localhost")
+                      .contains("rack0       Up     Normal")
                       .contains("100.00%             9223372036854775807");
             assertEquals(0, tool.getExitCode());
             assertTrue(tool.getCleanedStderr().isEmpty());


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org