openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rab...@apache.org
Subject [incubator-openwhisk] branch master updated: Allow bypass of stderr check in testEcho (#3879)
Date Sun, 15 Jul 2018 14:56:53 GMT
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 <mpmunasinghe@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)
   }
 


Mime
View raw message