rabbah commented on a change in pull request #3103: Rewrite wsk basic tests
URL: 
https://github.com/apache/incubator-openwhisk/pull/3103#discussion_r161284193
 
 

 ##########
 File path: tests/src/test/scala/system/basic/WskBasicTests.scala
 ##########
 @@ -381,10 +388,10 @@ class WskBasicTests extends TestHelpers with 
WskTestHelpers {
         action.create(name, 
Some(TestUtils.getTestActionFilename("asyncError.js")))
       }
 
-      val stderr = wsk.action.invoke(name, blocking = true, expectedExitCode = 
246).stderr
-      
ActivationResult.serdes.read(removeCLIHeader(stderr).parseJson).response.result 
shouldBe Some {
-        JsObject("error" -> JsObject("msg" -> "failed activation on 
purpose".toJson))
-      }
+      val result = wsk.action.invoke(name, blocking = true, expectedExitCode = 
502)
 
 Review comment:
   502? Why not use the akka code?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to