You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/04/23 21:17:18 UTC

[GitHub] dubee closed pull request #280: log test var refactor

dubee closed pull request #280: log test var refactor
URL: https://github.com/apache/incubator-openwhisk-cli/pull/280
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

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 e3c38cfc..dff7897b 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


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services