openwhisk-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-openwhisk-runtime-python] rabbah commented on a change in pull request #54: move global variables initialized to init
Date Wed, 27 Mar 2019 18:49:32 GMT
rabbah commented on a change in pull request #54: move global variables initialized to init
URL: https://github.com/apache/incubator-openwhisk-runtime-python/pull/54#discussion_r269717754
 
 

 ##########
 File path: tests/src/test/scala/runtime/actionContainers/PythonActionContainerTests.scala
 ##########
 @@ -267,10 +267,7 @@ class PythonActionContainerTests extends BasicActionRunnerTests with
WskActorSys
       val (out, err) = withActionContainer() { c =>
         val (initCode, initRes) = c.init(initPayload(code, main = "main"))
         if (initErrorsAreLogged) {
-          initCode should be(200)
-          val args = JsObject("msg" -> JsString("any"))
-          val (runCode, runRes) = c.run(runPayload(args))
-          runCode should be(502)
+          initCode should be(502)
 
 Review comment:
   Thanks @silvasong for the clarification.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message