rabbah closed pull request #3331: Make package test resilient against eventual 
URL: https://github.com/apache/incubator-openwhisk/pull/3331

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 
index 9dbb8c2f08..c0e2e40223 100644
--- a/tests/src/test/scala/whisk/core/controller/test/PackagesApiTests.scala
+++ b/tests/src/test/scala/whisk/core/controller/test/PackagesApiTests.scala
@@ -335,11 +335,14 @@ class PackagesApiTests extends ControllerTestCommon with 
WhiskPackagesApi {
       annotations = Parameters(Parameters.Feed, "true"))
     put(entityStore, provider)
     put(entityStore, reference)
     put(entityStore, action)
     put(entityStore, feed)
+    waitOnView(entityStore, WhiskAction, provider.fullPath, 2)
     // it should "reject get package reference from other subject" in {
     val auser = WhiskAuthHelpers.newIdentity()
     Get(s"/$namespace/${collection.path}/${reference.name}") ~> 
Route.seal(routes(auser)) ~> check {
@@ -349,7 +352,7 @@ class PackagesApiTests extends ControllerTestCommon with 
WhiskPackagesApi {
     Get(s"$collectionPath/${reference.name}") ~> Route.seal(routes(creds)) ~> 
check {
       status should be(OK)
       val response = responseAs[WhiskPackageWithActions]
-      response should be(reference withActions (List(action, feed)))
+      response should be(reference withActions List(action, feed))


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:

With regards,
Apache Git Services

Reply via email to