You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ra...@apache.org on 2018/07/15 14:56:53 UTC

[incubator-openwhisk] branch master updated: Allow bypass of stderr check in testEcho (#3879)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 967f005  Allow bypass of stderr check in testEcho (#3879)
967f005 is described below

commit 967f00525149544628961eb1a8a1e404679167b7
Author: Malith Munasinghe <mp...@users.noreply.github.com>
AuthorDate: Sun Jul 15 20:26:48 2018 +0530

    Allow bypass of stderr check in testEcho (#3879)
---
 tests/src/test/scala/actionContainers/BasicActionRunnerTests.scala | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/src/test/scala/actionContainers/BasicActionRunnerTests.scala b/tests/src/test/scala/actionContainers/BasicActionRunnerTests.scala
index 07d028d..4b3d893 100644
--- a/tests/src/test/scala/actionContainers/BasicActionRunnerTests.scala
+++ b/tests/src/test/scala/actionContainers/BasicActionRunnerTests.scala
@@ -238,7 +238,8 @@ trait BasicActionRunnerTests extends ActionProxyContainerTestUtils {
     checkStreams(out, err, {
       case (o, e) =>
         o should include("hello stdout")
-        e should include("hello stderr")
+        // some languages may not support printing to stderr
+        if (!config.skipTest) e should include("hello stderr")
     }, argss.length)
   }