You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ms...@apache.org on 2019/12/16 09:01:32 UTC
[openwhisk-runtime-go] branch master updated: Fix bash test for api
host. (#116)
This is an automated email from the ASF dual-hosted git repository.
msciabarra pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-runtime-go.git
The following commit(s) were added to refs/heads/master by this push:
new 0cddebe Fix bash test for api host. (#116)
0cddebe is described below
commit 0cddebeff3b92a628074c38ec7063ff34c1ada29
Author: rodric rabbah <ro...@gmail.com>
AuthorDate: Mon Dec 16 04:01:22 2019 -0500
Fix bash test for api host. (#116)
---
.../src/test/scala/runtime/actionContainers/ActionLoopBasicTests.scala | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/src/test/scala/runtime/actionContainers/ActionLoopBasicTests.scala b/tests/src/test/scala/runtime/actionContainers/ActionLoopBasicTests.scala
index 84a3bc5..e3edffe 100644
--- a/tests/src/test/scala/runtime/actionContainers/ActionLoopBasicTests.scala
+++ b/tests/src/test/scala/runtime/actionContainers/ActionLoopBasicTests.scala
@@ -65,11 +65,12 @@ class ActionLoopBasicTests extends BasicActionRunnerTests with WskActorSystem {
|done
""".stripMargin)
+ // the __OW_API_HOST should already be in the environment
+ // so it is not expected in/read from the input line
override val testEnv = TestConfig(
"""#!/bin/bash
|while read line
|do
- | __OW_API_HOST="$(echo "$line" | jq -r .api_host)"
| __OW_API_KEY="$(echo "$line" | jq -r .api_key)"
| __OW_NAMESPACE="$(echo "$line" | jq -r .namespace)"
| __OW_ACTIVATION_ID="$(echo "$line" | jq -r .activation_id)"