This is an automated email from the ASF dual-hosted git repository.
rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 67a80c3 Disable StandaloneKCFTests (#5140)
67a80c3 is described below
commit 67a80c3378e53d9bf967e3f0c3dcf10d55aa6ee7
Author: David Grove <[email protected]>
AuthorDate: Tue Jul 6 16:17:08 2021 -0400
Disable StandaloneKCFTests (#5140)
The only test case being run (invoke a blocking action
and get a result) fails quite frequently when run in
a travis-ci environment. It appears we usually hit the
60 second timeout and return a 202 with the activation id
instead of the expected result. This is "ok", but the test
is not prepared to handle it.
An alternative would be to modify the test to also accept a 202
response and then poll until the result was available, but that
would take significantly more work.
---
.../scala/org/apache/openwhisk/standalone/StandaloneKCFTests.scala | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/tests/src/test/scala/org/apache/openwhisk/standalone/StandaloneKCFTests.scala
b/tests/src/test/scala/org/apache/openwhisk/standalone/StandaloneKCFTests.scala
index bb5a0c2..7b8d772 100644
---
a/tests/src/test/scala/org/apache/openwhisk/standalone/StandaloneKCFTests.scala
+++
b/tests/src/test/scala/org/apache/openwhisk/standalone/StandaloneKCFTests.scala
@@ -42,7 +42,8 @@ class StandaloneKCFTests
override protected def useMockServer = false
- override protected def supportedTests = Set("Wsk Action REST should invoke a
blocking action and get only the result")
+ // override protected def supportedTests = Set("Wsk Action REST should
invoke a blocking action and get only the result") // disabled; very frequently
fails in travis-ci because after 60 seconds we return a 202 with the activation
id. KCF often gets cold starts > 60 seconds in travis environment
+ override protected def supportedTests = Set()
override protected def extraArgs: Seq[String] = Seq("--dev-mode",
"--dev-kcf")