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 2022/07/27 17:51:21 UTC

[cassandra] branch cassandra-4.1 updated: Don't require an echo response in TpStatsTest

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

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


The following commit(s) were added to refs/heads/cassandra-4.1 by this push:
     new 1fef492e2b Don't require an echo response in TpStatsTest
1fef492e2b is described below

commit 1fef492e2bedc024e994a173222d27c6f8d7f0a3
Author: Brandon Williams <br...@apache.org>
AuthorDate: Wed Jul 27 11:45:55 2022 -0500

    Don't require an echo response in TpStatsTest
    
    Patch by brandonwilliams; reviewed by maedhroz for CASSANDRA-17771
---
 test/unit/org/apache/cassandra/tools/nodetool/TpStatsTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/unit/org/apache/cassandra/tools/nodetool/TpStatsTest.java b/test/unit/org/apache/cassandra/tools/nodetool/TpStatsTest.java
index 2b551d30a3..8138c26556 100644
--- a/test/unit/org/apache/cassandra/tools/nodetool/TpStatsTest.java
+++ b/test/unit/org/apache/cassandra/tools/nodetool/TpStatsTest.java
@@ -134,7 +134,7 @@ public class TpStatsTest extends CQLTester
 
         assertThat(origGossip).isNotEqualTo(newGossip);
         assertThat(stdout).containsPattern("ECHO_REQ\\D.*[1-9].*");
-        assertThat(stdout).containsPattern("ECHO_RSP\\D.*[1-9].*");
+        assertThat(stdout).containsPattern("ECHO_RSP\\D.*[0-9].*");
     }
 
     @Test


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