netudima commented on code in PR #2497:
URL: https://github.com/apache/cassandra/pull/2497#discussion_r2155535602
##########
test/unit/org/apache/cassandra/tools/nodetool/SetGetStreamThroughputTest.java:
##########
@@ -179,9 +182,9 @@ private static void assertSetInvalidThroughputMbit(String
throughput)
private static void assertSetGetMoreFlagsIsInvalid()
{
- ToolResult tool = invokeNodetool("setstreamthroughput", "-m", "5",
"-e", "5");
+ ToolResult tool = invokeNodetool("setstreamthroughput", "-m", "5",
"-e", "6");
assertThat(tool.getExitCode()).isEqualTo(1);
- assertThat(tool.getStdout()).contains("You cannot use -e and -m at the
same time");
+ assertThat(tool.getStdout()).contains("nodetool: Unmatched argument at
index 8: '6'");
Review Comment:
the error looks unclear now..
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]