openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dube...@apache.org
Subject [incubator-openwhisk-cli] branch master updated: log test var refactor (#280)
Date Mon, 23 Apr 2018 21:17:19 GMT
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-cli.git


The following commit(s) were added to refs/heads/master by this push:
     new a582d1a  log test var refactor (#280)
a582d1a is described below

commit a582d1af60914ef82ee07211fa0daa2ecd8ad510
Author: David Cariello <drcariel@us.ibm.com>
AuthorDate: Mon Apr 23 16:17:17 2018 -0500

    log test var refactor (#280)
---
 tests/src/test/scala/whisk/core/cli/test/WskCliBasicUsageTests.scala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/src/test/scala/whisk/core/cli/test/WskCliBasicUsageTests.scala b/tests/src/test/scala/whisk/core/cli/test/WskCliBasicUsageTests.scala
index e3c38cf..dff7897 100644
--- a/tests/src/test/scala/whisk/core/cli/test/WskCliBasicUsageTests.scala
+++ b/tests/src/test/scala/whisk/core/cli/test/WskCliBasicUsageTests.scala
@@ -2433,7 +2433,7 @@ class WskCliBasicUsageTests extends TestHelpers with WskTestHelpers
{
       val limits = JsObject(
         "timeout" -> timeout.getOrElse(STD_DURATION).toMillis.toJson,
         "memory" -> memory.getOrElse(stdMemory).toMB.toInt.toJson,
-        "logs" -> logs.getOrElse(STD_LOGSIZE).toMB.toInt.toJson
+        "logs" -> logs.getOrElse(stdLogSize).toMB.toInt.toJson
       )
 
       val name = "ActionLimitTests" + Instant.now.toEpochMilli
@@ -2474,7 +2474,7 @@ class WskCliBasicUsageTests extends TestHelpers with WskTestHelpers
{
     for {
       time <- Seq(None, Some(MIN_DURATION), Some(MAX_DURATION))
       mem <- Seq(None, Some(minMemory), Some(maxMemory))
-      log <- Seq(None, Some(MIN_LOGSIZE), Some(MAX_LOGSIZE))
+      log <- Seq(None, Some(minLogSize), Some(maxLogSize))
     } testLimit(time, mem, log)
 
     // Assert that invalid permutation are rejected

-- 
To stop receiving notification emails like this one, please contact
dubeejw@apache.org.

Mime
View raw message