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-package-kafka.git


The following commit(s) were added to refs/heads/master by this push:
     new 77088f7  Update default retry when not using gradle (#233)
77088f7 is described below

commit 77088f75440edf4e2ebd4aada761c8502dfcadb9
Author: Adnan Baruni <abar...@users.noreply.github.com>
AuthorDate: Wed Dec 13 12:29:28 2017 -0600

    Update default retry when not using gradle (#233)
    
    * A default of 60 retries will be used
---
 tests/src/test/scala/system/health/BasicHealthTest.scala          | 2 +-
 tests/src/test/scala/system/packages/MessageHubFeedTests.scala    | 2 +-
 tests/src/test/scala/system/packages/MessageHubProduceTests.scala | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/src/test/scala/system/health/BasicHealthTest.scala 
b/tests/src/test/scala/system/health/BasicHealthTest.scala
index b9a6ee5..2ee1bff 100644
--- a/tests/src/test/scala/system/health/BasicHealthTest.scala
+++ b/tests/src/test/scala/system/health/BasicHealthTest.scala
@@ -68,7 +68,7 @@ class BasicHealthTest
 
   val kafkaUtils = new KafkaUtils
 
-  val maxRetries = System.getProperty("max.retries").toInt
+  val maxRetries = System.getProperty("max.retries", "60").toInt
 
   behavior of "Message Hub feed"
 
diff --git a/tests/src/test/scala/system/packages/MessageHubFeedTests.scala 
b/tests/src/test/scala/system/packages/MessageHubFeedTests.scala
index 77a5fc9..f1c2192 100644
--- a/tests/src/test/scala/system/packages/MessageHubFeedTests.scala
+++ b/tests/src/test/scala/system/packages/MessageHubFeedTests.scala
@@ -64,7 +64,7 @@ class MessageHubFeedTests
 
   val kafkaUtils = new KafkaUtils
 
-  val maxRetries = System.getProperty("max.retries").toInt
+  val maxRetries = System.getProperty("max.retries", "60").toInt
 
   implicit val wskprops = WskProps()
   val wsk = new Wsk()
diff --git a/tests/src/test/scala/system/packages/MessageHubProduceTests.scala 
b/tests/src/test/scala/system/packages/MessageHubProduceTests.scala
index 0740038..d7fad10 100644
--- a/tests/src/test/scala/system/packages/MessageHubProduceTests.scala
+++ b/tests/src/test/scala/system/packages/MessageHubProduceTests.scala
@@ -65,7 +65,7 @@ class MessageHubProduceTests
 
     val kafkaUtils = new KafkaUtils
 
-  val maxRetries = System.getProperty("max.retries").toInt
+    val maxRetries = System.getProperty("max.retries", "60").toInt
 
     val defaultAction = Some(TestUtils.getTestActionFilename("hello.js"))
     val defaultActionName = "hello"

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

Reply via email to