You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by du...@apache.org on 2017/09/20 21:56:04 UTC

[incubator-openwhisk] branch master updated: update apigw end-to-end to be more resilient (#2724)

This is an automated email from the ASF dual-hosted git repository.

dubeejw 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 9f07384  update apigw end-to-end to be more resilient (#2724)
9f07384 is described below

commit 9f0738424c2381be295d2ea12678ae2c14e5b759
Author: David Cariello <dr...@us.ibm.com>
AuthorDate: Wed Sep 20 16:56:02 2017 -0500

    update apigw end-to-end to be more resilient (#2724)
---
 tests/src/test/scala/apigw/healthtests/ApiGwEndToEndTests.scala | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/src/test/scala/apigw/healthtests/ApiGwEndToEndTests.scala b/tests/src/test/scala/apigw/healthtests/ApiGwEndToEndTests.scala
index 5f5a1dc..d0dbe92 100644
--- a/tests/src/test/scala/apigw/healthtests/ApiGwEndToEndTests.scala
+++ b/tests/src/test/scala/apigw/healthtests/ApiGwEndToEndTests.scala
@@ -85,6 +85,12 @@ class ApiGwEndToEndTests
     try {
       println("cli namespace: " + clinamespace)
 
+      // Delete any lingering stale api from previous run that may not have been deleted properly
+      wsk.api.delete(
+        basepathOrApiName = testbasepath,
+        expectedExitCode = DONTCARE_EXIT,
+        cliCfgFile = Some(cliWskPropsFile.getCanonicalPath()))
+
       // Create the action for the API.  It must be a "web-action" action.
       val file = TestUtils.getTestActionFilename(s"echo-web-http.js")
       wsk.action.create(

-- 
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].