brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject brooklyn-server git commit: fix intermittent failing persistence test
Date Wed, 09 Mar 2016 12:30:40 GMT
Repository: brooklyn-server
Updated Branches:
  refs/heads/master 256aee05c -> 5f0e0c572


fix intermittent failing persistence test

on a fast machine it is conceivable we write some of these files a bit more often, as sensors
are changing more often, so bumping up numbers slightly


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/5f0e0c57
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/5f0e0c57
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/5f0e0c57

Branch: refs/heads/master
Commit: 5f0e0c572775f5a1b1b0ed1e9bac5e268a9ecd2d
Parents: 256aee0
Author: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Authored: Wed Mar 9 12:29:57 2016 +0000
Committer: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Committed: Wed Mar 9 12:29:57 2016 +0000

----------------------------------------------------------------------
 ...wareProcessPersisterInMemorySizeIntegrationTest.java | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/5f0e0c57/software/base/src/test/java/org/apache/brooklyn/entity/software/base/SoftwareProcessPersisterInMemorySizeIntegrationTest.java
----------------------------------------------------------------------
diff --git a/software/base/src/test/java/org/apache/brooklyn/entity/software/base/SoftwareProcessPersisterInMemorySizeIntegrationTest.java
b/software/base/src/test/java/org/apache/brooklyn/entity/software/base/SoftwareProcessPersisterInMemorySizeIntegrationTest.java
index 1548f98..a6cff0c 100644
--- a/software/base/src/test/java/org/apache/brooklyn/entity/software/base/SoftwareProcessPersisterInMemorySizeIntegrationTest.java
+++ b/software/base/src/test/java/org/apache/brooklyn/entity/software/base/SoftwareProcessPersisterInMemorySizeIntegrationTest.java
@@ -18,6 +18,9 @@
  */
 package org.apache.brooklyn.entity.software.base;
 
+import java.io.IOException;
+import java.util.concurrent.TimeoutException;
+
 import org.apache.brooklyn.api.entity.EntitySpec;
 import org.apache.brooklyn.core.mgmt.persist.BrooklynMementoPersisterInMemorySizeIntegrationTest;
 import org.testng.annotations.BeforeMethod;
@@ -29,9 +32,9 @@ import com.google.common.collect.ImmutableList;
 public class SoftwareProcessPersisterInMemorySizeIntegrationTest extends BrooklynMementoPersisterInMemorySizeIntegrationTest
{
 
     public SoftwareProcessPersisterInMemorySizeIntegrationTest() {
-        pass1MaxFiles = 60;
+        pass1MaxFiles = 80;
         pass1MaxKb = 150;
-        pass2MaxFiles = 80;
+        pass2MaxFiles = 100;
         pass2MaxKb = 150;
         pass3MaxKb = 50;
     }
@@ -45,4 +48,9 @@ public class SoftwareProcessPersisterInMemorySizeIntegrationTest extends
Brookly
         app.start(ImmutableList.of(location));
     }
 
+    // to allow selection for running in IDE
+    public void testPersistenceVolumeFast() throws IOException, TimeoutException, InterruptedException
{
+        super.testPersistenceVolumeFast();
+    }
+
 }


Mime
View raw message