ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [19/43] ignite git commit: IGNITE-4694 Add tests to check there are no memory leaks in PageMemory
Date Fri, 10 Mar 2017 07:23:40 GMT
IGNITE-4694 Add tests to check there are no memory leaks in PageMemory


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

Branch: refs/heads/ignite-4712
Commit: a2ae747dff48515b8e1d968f56a1cf93188a905e
Parents: 4c3ccb3
Author: Igor Seliverstov <gvvinblade@gmail.com>
Authored: Wed Feb 22 15:01:09 2017 +0300
Committer: Igor Seliverstov <gvvinblade@gmail.com>
Committed: Wed Feb 22 15:01:09 2017 +0300

----------------------------------------------------------------------
 .../processors/database/IgniteDbMemoryLeakAbstractTest.java    | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/a2ae747d/modules/core/src/test/java/org/apache/ignite/internal/processors/database/IgniteDbMemoryLeakAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/database/IgniteDbMemoryLeakAbstractTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/database/IgniteDbMemoryLeakAbstractTest.java
index 04ac5ea..06ecb94 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/database/IgniteDbMemoryLeakAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/database/IgniteDbMemoryLeakAbstractTest.java
@@ -25,6 +25,8 @@ import org.apache.ignite.configuration.MemoryConfiguration;
 import org.apache.ignite.internal.IgniteEx;
 import org.apache.ignite.internal.processors.cache.database.DataStructure;
 
+import static org.apache.ignite.IgniteSystemProperties.getInteger;
+
 /**
  * Base class for memory leaks tests.
  */
@@ -84,7 +86,7 @@ public abstract class IgniteDbMemoryLeakAbstractTest extends IgniteDbAbstractTes
      * @return Test duration in seconds.
      */
     protected int duration() {
-        return 300;
+        return getInteger("IGNITE_MEMORY_LEAKS_TEST_DURATION", 300);
     }
 
     /**
@@ -92,7 +94,7 @@ public abstract class IgniteDbMemoryLeakAbstractTest extends IgniteDbAbstractTes
      */
     @SuppressWarnings("WeakerAccess")
     protected int warmUp() {
-        return 450;
+        return getInteger("IGNITE_MEMORY_LEAKS_TEST_WARM_UP", 450);
     }
 
     /** {@inheritDoc} */


Mime
View raw message