You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2017/09/22 15:03:41 UTC

[incubator-openwhisk-cli] 06/07: update apigw end-to-end to be more resilient (#2724)

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

csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-cli.git

commit f85b26a898191cc6fc64af494801d408916ecbc6
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 d9a94b4..909b609 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 = TestCLIUtils.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>.