activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject [1/2] activemq git commit: seems 3 or 4 journal files are needed - on occasion test fails with 4
Date Thu, 05 Mar 2015 14:45:51 GMT
Repository: activemq
Updated Branches:
  refs/heads/master 8c66fba0a -> ab28b771e


seems 3 or 4 journal files are needed - on occasion test fails with 4


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

Branch: refs/heads/master
Commit: 42b606da9d9f4fa9f9c926f7c04d2fa134fb334a
Parents: 8c66fba
Author: gtully <gary.tully@gmail.com>
Authored: Thu Mar 5 14:29:20 2015 +0000
Committer: gtully <gary.tully@gmail.com>
Committed: Thu Mar 5 14:29:20 2015 +0000

----------------------------------------------------------------------
 .../activemq/usecases/DurableSubSelectorDelayWithRestartTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/42b606da/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/DurableSubSelectorDelayWithRestartTest.java
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/DurableSubSelectorDelayWithRestartTest.java
b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/DurableSubSelectorDelayWithRestartTest.java
index 5e1cb42..228fc04 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/DurableSubSelectorDelayWithRestartTest.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/DurableSubSelectorDelayWithRestartTest.java
@@ -88,7 +88,7 @@ public class DurableSubSelectorDelayWithRestartTest {
             @Override
             public boolean isSatisified() throws Exception {
                 LOG.info("journal data file count - expected {} actual {}", 4, pa.getStore().getJournal().getFileMap().size());
-                return pa.getStore().getJournal().getFileMap().size() < 4;
+                return pa.getStore().getJournal().getFileMap().size() <= 4;
             }
         }, TimeUnit.MINUTES.toMillis(3)));
 


Mime
View raw message