This is an automated email from the ASF dual-hosted git repository. ifesdjeen pushed a commit to branch cassandra-2.2 in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/cassandra-2.2 by this push: new 75d14b6 Add a test for a "real" nodetool command, not only "help" 75d14b6 is described below commit 75d14b629da9360a8f2acd0153938b505c7c0714 Author: Alex Petrov <oleksandr.pet...@gmail.com> AuthorDate: Tue Feb 4 17:33:11 2020 +0100 Add a test for a "real" nodetool command, not only "help" Patch by Alex Petrov; reviewed by Yifan Cai for CASSANDRA-15429 --- test/distributed/org/apache/cassandra/distributed/test/NodeToolTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/test/distributed/org/apache/cassandra/distributed/test/NodeToolTest.java b/test/distributed/org/apache/cassandra/distributed/test/NodeToolTest.java index d2d4bb9..e209d1d 100644 --- a/test/distributed/org/apache/cassandra/distributed/test/NodeToolTest.java +++ b/test/distributed/org/apache/cassandra/distributed/test/NodeToolTest.java @@ -32,6 +32,7 @@ public class NodeToolTest extends DistributedTestBase try (Cluster cluster = init(Cluster.create(1))) { assertEquals(0, cluster.get(1).nodetool("help")); + assertEquals(0, cluster.get(1).nodetool("flush")); assertEquals(1, cluster.get(1).nodetool("not_a_legal_command")); } } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org