juneau-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesbog...@apache.org
Subject incubator-juneau git commit: Reduce iteration count in stress test.
Date Tue, 26 Sep 2017 13:09:33 GMT
Repository: incubator-juneau
Updated Branches:
  refs/heads/master 720e7ff6e -> df81bb310


Reduce iteration count in stress test.

Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-juneau/commit/df81bb31
Tree: http://git-wip-us.apache.org/repos/asf/incubator-juneau/tree/df81bb31
Diff: http://git-wip-us.apache.org/repos/asf/incubator-juneau/diff/df81bb31

Branch: refs/heads/master
Commit: df81bb310f6d9b490cf551b2a83769f7a84213fb
Parents: 720e7ff
Author: JamesBognar <jamesbognar@apache.org>
Authored: Tue Sep 26 09:09:28 2017 -0400
Committer: JamesBognar <jamesbognar@apache.org>
Committed: Tue Sep 26 09:09:28 2017 -0400

----------------------------------------------------------------------
 .../test/java/org/apache/juneau/rest/test/ThirdPartyProxyTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/df81bb31/juneau-microservice/juneau-microservice-test/src/test/java/org/apache/juneau/rest/test/ThirdPartyProxyTest.java
----------------------------------------------------------------------
diff --git a/juneau-microservice/juneau-microservice-test/src/test/java/org/apache/juneau/rest/test/ThirdPartyProxyTest.java
b/juneau-microservice/juneau-microservice-test/src/test/java/org/apache/juneau/rest/test/ThirdPartyProxyTest.java
index 736f0c6..8915366 100644
--- a/juneau-microservice/juneau-microservice-test/src/test/java/org/apache/juneau/rest/test/ThirdPartyProxyTest.java
+++ b/juneau-microservice/juneau-microservice-test/src/test/java/org/apache/juneau/rest/test/ThirdPartyProxyTest.java
@@ -93,7 +93,7 @@ public class ThirdPartyProxyTest extends RestTestcase {
       // running timer task as daemon thread
       Timer timer = new Timer(true);
       timer.scheduleAtFixedRate(timerTask, 0, 10 * 1000);
-		for (int i = 0; i < 1000000; i++) {
+		for (int i = 0; i < 100000; i++) {
 			iteration.set(i);
 			String s = proxy.setInt3dArray(new int[][][]{{{i},null},null}, i);
 			if (i % 1000 == 0)


Mime
View raw message