You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2017/11/20 12:15:29 UTC
[incubator-openwhisk-package-cloudant] branch master updated: Fix
failing test (#148)
This is an automated email from the ASF dual-hosted git repository.
csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-package-cloudant.git
The following commit(s) were added to refs/heads/master by this push:
new 3239bb3 Fix failing test (#148)
3239bb3 is described below
commit 3239bb36f825dbe5f66ec6f92fb627108cd2c4c8
Author: Adnan Baruni <ab...@users.noreply.github.com>
AuthorDate: Mon Nov 20 06:15:28 2017 -0600
Fix failing test (#148)
---
tests/src/test/scala/system/packages/CloudantFeedTests.scala | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/tests/src/test/scala/system/packages/CloudantFeedTests.scala b/tests/src/test/scala/system/packages/CloudantFeedTests.scala
index f6390f3..f6f1c9e 100644
--- a/tests/src/test/scala/system/packages/CloudantFeedTests.scala
+++ b/tests/src/test/scala/system/packages/CloudantFeedTests.scala
@@ -573,7 +573,14 @@ class CloudantFeedTests
"authKey" -> wskProps.authKey.toJson,
"query_params" -> JsObject("type" -> JsString("avocado"))
))
- feedUpdateResult.stdout should include("ok")
+
+ withActivation(wsk.activation, feedUpdateResult) {
+ activation =>
+ activation.response.success shouldBe true
+ }
+
+ println("Giving the trigger service a moment to process the update")
+ Thread.sleep(10000)
val runResult = wsk.action.invoke(actionName, parameters = Map(
"triggerName" -> triggerName.toJson,
--
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].