ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dpav...@apache.org
Subject ignite git commit: IGNITE-8675: Fixed flacky test PdsWithTtlCompatibilityTest.testNodeStartByOldVersionPersistenceData_2_1. - Fixes #4105.
Date Mon, 04 Jun 2018 12:10:13 GMT
Repository: ignite
Updated Branches:
  refs/heads/master 1f6266c97 -> 3beb3c32f


IGNITE-8675: Fixed flacky test PdsWithTtlCompatibilityTest.testNodeStartByOldVersionPersistenceData_2_1.
- Fixes #4105.

Signed-off-by: Dmitriy Pavlov <dpavlov@apache.org>


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

Branch: refs/heads/master
Commit: 3beb3c32f1fa59492a3a1a79e17583f90ac148a5
Parents: 1f6266c
Author: Andrey V. Mashenkov <andrey.mashenkov@gmail.com>
Authored: Mon Jun 4 15:05:47 2018 +0300
Committer: Dmitriy Pavlov <dpavlov@apache.org>
Committed: Mon Jun 4 15:05:47 2018 +0300

----------------------------------------------------------------------
 .../ignite/compatibility/PdsWithTtlCompatibilityTest.java      | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/3beb3c32/modules/compatibility/src/test/java/org/apache/ignite/compatibility/PdsWithTtlCompatibilityTest.java
----------------------------------------------------------------------
diff --git a/modules/compatibility/src/test/java/org/apache/ignite/compatibility/PdsWithTtlCompatibilityTest.java
b/modules/compatibility/src/test/java/org/apache/ignite/compatibility/PdsWithTtlCompatibilityTest.java
index f3649f6..946cadd 100644
--- a/modules/compatibility/src/test/java/org/apache/ignite/compatibility/PdsWithTtlCompatibilityTest.java
+++ b/modules/compatibility/src/test/java/org/apache/ignite/compatibility/PdsWithTtlCompatibilityTest.java
@@ -31,6 +31,7 @@ import org.apache.ignite.configuration.CacheConfiguration;
 import org.apache.ignite.configuration.DataRegionConfiguration;
 import org.apache.ignite.configuration.DataStorageConfiguration;
 import org.apache.ignite.configuration.IgniteConfiguration;
+import org.apache.ignite.configuration.MemoryConfiguration;
 import org.apache.ignite.configuration.PersistentStoreConfiguration;
 import org.apache.ignite.configuration.WALMode;
 import org.apache.ignite.internal.IgniteEx;
@@ -72,6 +73,7 @@ public class PdsWithTtlCompatibilityTest extends IgnitePersistenceCompatibilityA
                     new DataRegionConfiguration()
                         .setMaxSize(32L * 1024 * 1024)
                         .setPersistenceEnabled(true)
+                        .setCheckpointPageBufferSize(16L * 1024 * 1024)
                 ).setWalMode(WALMode.LOG_ONLY));
 
         return cfg;
@@ -162,7 +164,9 @@ public class PdsWithTtlCompatibilityTest extends IgnitePersistenceCompatibilityA
 
             cfg.setPeerClassLoadingEnabled(false);
 
-            cfg.setPersistentStoreConfiguration(new PersistentStoreConfiguration().setWalMode(WALMode.LOG_ONLY));
+            cfg.setMemoryConfiguration(new MemoryConfiguration().setDefaultMemoryPolicySize(256L
* 1024 * 1024));
+            cfg.setPersistentStoreConfiguration(new PersistentStoreConfiguration().setWalMode(WALMode.LOG_ONLY)
+                .setCheckpointingPageBufferSize(16L * 1024 * 1024));
         }
     }
 


Mime
View raw message