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 2017/12/13 18:29:32 UTC
[GitHub] dubeejw closed pull request #233: update default retry when not using gradle
dubeejw closed pull request #233: update default retry when not using gradle
URL: https://github.com/apache/incubator-openwhisk-package-kafka/pull/233
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/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"
----------------------------------------------------------------
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