bipinprasad commented on code in PR #3479:
URL: https://github.com/apache/storm/pull/3479#discussion_r879911263


##########
flux/flux-core/src/test/java/org/apache/storm/flux/multilang/MultilangEnvironmentTest.java:
##########
@@ -38,19 +38,19 @@ public class MultilangEnvironmentTest {
     public void testInvokePython() throws Exception {
         String[] command = new String[]{"python", "--version"};
         int exitVal = invokeCommand(command);
-        assertEquals("Exit value for python is 0.", 0, exitVal);
+        assertEquals(0, exitVal, "Exit value for python is 0.");
     }
 
     @Test
     public void testInvokeNode() throws Exception {
         String[] command = new String[]{"node", "--version"};
         int exitVal = invokeCommand(command);
-        assertEquals("Exit value for node is 0.", 0, exitVal);
+        assertEquals(0, exitVal, "Exit value for node is 0.");

Review Comment:
   Error message should say "Exit value for node should be 0" or something 
similar ("....was not zero")



-- 
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: dev-unsubscr...@storm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to