openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markusthoem...@apache.org
Subject [incubator-openwhisk] branch master updated: Increase the timeout for ActionLimitTests (#2503)
Date Wed, 19 Jul 2017 07:41:34 GMT
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 4a81f06  Increase the timeout for ActionLimitTests (#2503)
4a81f06 is described below

commit 4a81f06e96d7844c4116117fabea9c460cb7aba4
Author: Vadim Raskin <raskinvadim@gmail.com>
AuthorDate: Wed Jul 19 09:41:32 2017 +0200

    Increase the timeout for ActionLimitTests (#2503)
---
 tests/src/test/scala/whisk/core/limits/ActionLimitsTests.scala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/src/test/scala/whisk/core/limits/ActionLimitsTests.scala b/tests/src/test/scala/whisk/core/limits/ActionLimitsTests.scala
index a125105..3983bfb 100644
--- a/tests/src/test/scala/whisk/core/limits/ActionLimitsTests.scala
+++ b/tests/src/test/scala/whisk/core/limits/ActionLimitsTests.scala
@@ -111,7 +111,7 @@ class ActionLimitsTests extends TestHelpers with WskTestHelpers {
             val attemptedSize = (allowedSize.toBytes * 1.1).toLong.bytes
 
             val run = wsk.action.invoke(name, Map("payload" -> attemptedSize.toBytes.toJson))
-            withActivation(wsk.activation, run) { response =>
+            withActivation(wsk.activation, run, totalWait = 120 seconds) { response =>
                 val lines = response.logs.get
                 lines.last shouldBe Messages.truncateLogs(allowedSize)
                 (lines.length - 1) shouldBe (allowedSize.toBytes / bytesPerLine)
@@ -152,7 +152,7 @@ class ActionLimitsTests extends TestHelpers with WskTestHelpers {
                 if (blocking) {
                     checkResponse(wsk.parseJsonString(rr.stderr).convertTo[CliActivation])
                 } else {
-                    withActivation(wsk.activation, rr) { checkResponse(_) }
+                    withActivation(wsk.activation, rr, totalWait = 120 seconds) { checkResponse(_)
}
                 }
         }
     }

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

Mime
View raw message