You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ra...@apache.org on 2018/08/29 09:08:30 UTC
[incubator-openwhisk] branch master updated: remove stale JUnit
test concurrency flag (#3992)
This is an automated email from the ASF dual-hosted git repository.
rabbah 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 76537c5 remove stale JUnit test concurrency flag (#3992)
76537c5 is described below
commit 76537c5c289433db3aa9d059766e039d2cb43354
Author: David Cariello <dr...@us.ibm.com>
AuthorDate: Wed Aug 29 04:08:26 2018 -0500
remove stale JUnit test concurrency flag (#3992)
---
tests/src/test/scala/common/WhiskProperties.java | 19 -------------------
1 file changed, 19 deletions(-)
diff --git a/tests/src/test/scala/common/WhiskProperties.java b/tests/src/test/scala/common/WhiskProperties.java
index 3f20144..4971797 100644
--- a/tests/src/test/scala/common/WhiskProperties.java
+++ b/tests/src/test/scala/common/WhiskProperties.java
@@ -48,11 +48,6 @@ public class WhiskProperties {
public static final boolean testRouter = System.getProperty("test.router", "false").equals("true");
/**
- * The number of tests to run concurrently.
- */
- public static final int concurrentTestCount = getConcurrentTestCount(System.getProperty("testthreads", null));
-
- /**
* The root of the whisk installation, used to retrieve files relative to
* home.
*/
@@ -363,18 +358,4 @@ public class WhiskProperties {
}
return props;
}
-
- private static int getConcurrentTestCount(String count) {
- if (count != null && count.trim().isEmpty() == false) {
- try {
- int threads = Integer.parseInt(count);
- if (threads > 0) {
- return threads;
- }
- } catch (NumberFormatException e) {
- }
- }
- return DEFAULT_CONCURRENCY;
- }
-
}