You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2017/11/20 12:15:32 UTC

[GitHub] csantanapr closed pull request #148: Fix failing test

csantanapr closed pull request #148: Fix failing test
URL: https://github.com/apache/incubator-openwhisk-package-cloudant/pull/148
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

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,


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services