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 2018/08/16 08:36:45 UTC

[GitHub] jiangpengcheng commented on a change in pull request #3890: Use ArtifactStore to manipulate data in NamespaceBlacklistTests

jiangpengcheng commented on a change in pull request #3890: Use ArtifactStore to manipulate data in NamespaceBlacklistTests
URL: https://github.com/apache/incubator-openwhisk/pull/3890#discussion_r210517132
 
 

 ##########
 File path: tests/src/test/scala/whisk/core/database/test/DbUtils.scala
 ##########
 @@ -128,6 +128,28 @@ trait DbUtils extends Assertions {
     assert(success.isSuccess, "wait aborted")
   }
 
+  /**
+   * Wait on a view to update with documents added(don't specify the namespace). This uses retry above,
+   * where the step performs a direct db query to retrieve the view and check the count
+   * matches the given value.
+   */
+  def waitOnView[Au](db: ArtifactStore[Au], count: Int, view: View)(implicit context: ExecutionContext,
 
 Review comment:
   updated

----------------------------------------------------------------
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