You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by st...@apache.org on 2019/11/22 02:14:31 UTC
[openwhisk-cli] branch master updated: corresponding update for
openwhisk commita3f41e665 (#464)
This is an automated email from the ASF dual-hosted git repository.
style95 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-cli.git
The following commit(s) were added to refs/heads/master by this push:
new 368da5b corresponding update for openwhisk commita3f41e665 (#464)
368da5b is described below
commit 368da5bf3d34b4a9b64204a0876618d79e014146
Author: steven0711dong <53...@users.noreply.github.com>
AuthorDate: Thu Nov 21 21:14:25 2019 -0500
corresponding update for openwhisk commita3f41e665 (#464)
* corresponding update for openwhisk commita3f41e665
* scalafmt
* scope problem
* forgot ''
---
.../org/apache/openwhisk/core/cli/test/WskCliBasicUsageTests.scala | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/src/test/scala/org/apache/openwhisk/core/cli/test/WskCliBasicUsageTests.scala b/tests/src/test/scala/org/apache/openwhisk/core/cli/test/WskCliBasicUsageTests.scala
index aa4345f..5322286 100644
--- a/tests/src/test/scala/org/apache/openwhisk/core/cli/test/WskCliBasicUsageTests.scala
+++ b/tests/src/test/scala/org/apache/openwhisk/core/cli/test/WskCliBasicUsageTests.scala
@@ -435,14 +435,15 @@ class WskCliBasicUsageTests extends TestHelpers with WskTestHelpers {
it should "report error when creating an action with unknown kind" in withAssetCleaner(wskprops) {
(wp, assetHelper) =>
+ val runtimeParam = "foobar"
val rr = assetHelper.withCleaner(wsk.action, "invalid kind", confirmDelete = false) { (action, name) =>
action.create(
name,
Some(TestUtils.getTestActionFilename("echo.js")),
- kind = Some("foobar"),
+ kind = Some(runtimeParam),
expectedExitCode = BAD_REQUEST)
}
- rr.stderr should include regex "The request content was malformed"
+ rr.stderr should include regex (s"""The specified runtime '$runtimeParam' is not supported by this platform""")
}
it should "report error when creating an action with zip but without kind" in withAssetCleaner(wskprops) {