This is an automated email from the ASF dual-hosted git repository. markusthoemmes pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
The following commit(s) were added to refs/heads/master by this push: new 45ac896 Add retry to avoid intermittent test failures. (#3774) 45ac896 is described below commit 45ac8962c8edc87260b5d2c21e121ddf2e0003a2 Author: Mark Deuser <mdeu...@us.ibm.com> AuthorDate: Mon Jul 23 07:44:17 2018 -0400 Add retry to avoid intermittent test failures. (#3774) --- tests/src/test/scala/system/basic/WskRestBasicTests.scala | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/src/test/scala/system/basic/WskRestBasicTests.scala b/tests/src/test/scala/system/basic/WskRestBasicTests.scala index 6f6a987..58ddd13 100644 --- a/tests/src/test/scala/system/basic/WskRestBasicTests.scala +++ b/tests/src/test/scala/system/basic/WskRestBasicTests.scala @@ -115,7 +115,11 @@ class WskRestBasicTests extends TestHelpers with WskTestHelpers with WskActorSys } wsk.action.create(packageName + "/" + actionName, defaultAction, annotations = actionAnnots) - val result = wsk.pkg.get(packageName) + val result = cacheRetry({ + val p = wsk.pkg.get(packageName) + p.getFieldListJsObject("actions") should have size 1 + p + }) val ns = wsk.namespace.whois() wsk.action.delete(packageName + "/" + actionName)