activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject activemq-artemis git commit: ARTEMIS-1345 Making TestProperties a little easier on slow CIs
Date Thu, 08 Mar 2018 15:55:58 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master c85f0f383 -> 9ae059bae


ARTEMIS-1345 Making TestProperties a little easier on slow CIs

using less iterations, making it less risky on slow hypervisors


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/9ae059ba
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/9ae059ba
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/9ae059ba

Branch: refs/heads/master
Commit: 9ae059baebffbdb16f22b830dda0e545ac80d3bc
Parents: c85f0f3
Author: Clebert Suconic <clebertsuconic@apache.org>
Authored: Thu Mar 8 10:50:52 2018 -0500
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Thu Mar 8 10:50:56 2018 -0500

----------------------------------------------------------------------
 .../org/apache/activemq/artemis/utils/TypedPropertiesTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/9ae059ba/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/TypedPropertiesTest.java
----------------------------------------------------------------------
diff --git a/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/TypedPropertiesTest.java
b/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/TypedPropertiesTest.java
index 1e0d566..205fc3b 100644
--- a/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/TypedPropertiesTest.java
+++ b/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/TypedPropertiesTest.java
@@ -279,7 +279,7 @@ public class TypedPropertiesTest {
          }
       };
       t.start();
-      for (int i = 0; !error.get() && (i < 100 || copies.get() < 5000); i++)
{
+      for (int i = 0; !error.get() && (i < 100 || copies.get() < 50); i++)
{
          properties.putIntProperty(SimpleString.toSimpleString("key" + i), i);
       }
 


Mime
View raw message