netudima commented on code in PR #2497:
URL: https://github.com/apache/cassandra/pull/2497#discussion_r2100574519


##########
test/distributed/org/apache/cassandra/distributed/test/AbstractNodetoolStatusTest.java:
##########
@@ -108,11 +108,11 @@ public void testCommands()
         // test illegal sort by or order
         NodeToolResult invalidSortBy = NODE_1.nodetoolResult("status", 
"--sort", "not_an_option");
         invalidSortBy.asserts().failure();
-        Assert.assertTrue(invalidSortBy.getStderr().contains("Illegal value 
for -s/--sort used: 'not_an_option'. Supported values are state, ip, host, 
load, owns, id, token, rack."));
+        Assert.assertTrue(invalidSortBy.getStdout().contains("Invalid value 
for option '--sort': expected one of [state, ip, host, load, owns, id, token, 
rack] (case-sensitive) but was 'not_an_option'"));

Review Comment:
   have we changed output from stderr to stdout intentionally?



-- 
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]

Reply via email to