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/openwhisk-runtime-swift.git
The following commit(s) were added to refs/heads/master by this push:
new 8dde6c1 Update for action version. (#111)
8dde6c1 is described below
commit 8dde6c166e1bd136e2fffe2b043c0087a512aab5
Author: rodric rabbah <[email protected]>
AuthorDate: Thu Dec 12 04:30:13 2019 -0800
Update for action version. (#111)
See https://github.com/apache/openwhisk/pull/4761.
---
.../actionContainers/SwiftCodableActionContainerTests.scala | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git
a/tests/src/test/scala/runtime/actionContainers/SwiftCodableActionContainerTests.scala
b/tests/src/test/scala/runtime/actionContainers/SwiftCodableActionContainerTests.scala
index d015949..5c033e7 100644
---
a/tests/src/test/scala/runtime/actionContainers/SwiftCodableActionContainerTests.scala
+++
b/tests/src/test/scala/runtime/actionContainers/SwiftCodableActionContainerTests.scala
@@ -139,6 +139,7 @@ abstract class SwiftCodableActionContainerTests extends
BasicActionRunnerTests w
| let api_key: String
| let namespace: String
| let action_name: String
+ | let action_version: String
| let activation_id: String
| let deadline: String
| }
@@ -148,6 +149,7 @@ abstract class SwiftCodableActionContainerTests extends
BasicActionRunnerTests w
| var b = "???"
| var c = "???"
| var d = "???"
+ | var r = "???"
| var e = "???"
| var f = "???"
| if let v : String = env["__OW_API_HOST"] {
@@ -162,13 +164,16 @@ abstract class SwiftCodableActionContainerTests extends
BasicActionRunnerTests w
| if let v : String = env["__OW_ACTION_NAME"] {
| d = "\(v)"
| }
+ | if let v : String = env["__OW_ACTION_VERSION"] {
+ | r = "\(v)"
+ | }
| if let v : String = env["__OW_ACTIVATION_ID"] {
| e = "\(v)"
| }
| if let v : String = env["__OW_DEADLINE"] {
| f = "\(v)"
| }
- | let result = AnOutput(api_host:a, api_key:b, namespace:c,
action_name:d, activation_id:e, deadline: f)
+ | let result = AnOutput(api_host:a, api_key:b, namespace:c,
action_name:d, action_version:r, activation_id:e, deadline: f)
| respondWith(result, nil)
| }
""".stripMargin,