This is an automated email from the ASF dual-hosted git repository.

seonghyun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new 1a0f1ce74 Support backward compatibility for runtime's return type 
(#5306)
1a0f1ce74 is described below

commit 1a0f1ce74446a30cdb8d06c7526d7405bfe55909
Author: Seonghyun Oh <[email protected]>
AuthorDate: Thu Aug 4 10:32:11 2022 +0900

    Support backward compatibility for runtime's return type (#5306)
---
 tests/src/test/scala/actionContainers/BasicActionRunnerTests.scala | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/src/test/scala/actionContainers/BasicActionRunnerTests.scala 
b/tests/src/test/scala/actionContainers/BasicActionRunnerTests.scala
index 17727704e..6202039d7 100644
--- a/tests/src/test/scala/actionContainers/BasicActionRunnerTests.scala
+++ b/tests/src/test/scala/actionContainers/BasicActionRunnerTests.scala
@@ -173,7 +173,9 @@ trait BasicActionRunnerTests extends 
ActionProxyContainerTestUtils {
         initCode should be(200)
         val (runCode, out) = c.run(JsObject.empty)
         runCode should not be (200)
-        out should be(Some(JsObject("error" -> JsString("The action did not 
return a dictionary or array."))))
+
+        out should (be(Some(JsObject("error" -> JsString("The action did not 
return a dictionary or array.")))) or be(
+          Some(JsObject("error" -> JsString("The action did not return a 
dictionary.")))))
       }
 
       checkStreams(out, err, {

Reply via email to