ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [17/50] [abbrv] ignite git commit: IGNITE-GG-12163 system property name fixed in test
Date Mon, 22 May 2017 15:12:45 GMT
IGNITE-GG-12163 system property name fixed in test


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

Branch: refs/heads/ignite-5075-pds
Commit: 2a5a410316acf04934152bf267b199218ea6763b
Parents: 6d3821b
Author: Sergey Chugunov <sergey.chugunov@gmail.com>
Authored: Wed May 17 12:02:33 2017 +0300
Committer: Sergey Chugunov <sergey.chugunov@gmail.com>
Committed: Wed May 17 12:02:33 2017 +0300

----------------------------------------------------------------------
 .../database/db/file/IgniteWalRecoverySelfTest.java      | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/2a5a4103/modules/pds/src/test/java/org/apache/ignite/cache/database/db/file/IgniteWalRecoverySelfTest.java
----------------------------------------------------------------------
diff --git a/modules/pds/src/test/java/org/apache/ignite/cache/database/db/file/IgniteWalRecoverySelfTest.java
b/modules/pds/src/test/java/org/apache/ignite/cache/database/db/file/IgniteWalRecoverySelfTest.java
index 9ac7323..fd3ed75 100644
--- a/modules/pds/src/test/java/org/apache/ignite/cache/database/db/file/IgniteWalRecoverySelfTest.java
+++ b/modules/pds/src/test/java/org/apache/ignite/cache/database/db/file/IgniteWalRecoverySelfTest.java
@@ -60,6 +60,7 @@ import org.apache.ignite.internal.processors.cache.GridCacheSharedContext;
 import org.apache.ignite.internal.processors.cache.database.GridCacheDatabaseSharedManager;
 import org.apache.ignite.internal.processors.cache.database.pagemem.PageMemoryEx;
 import org.apache.ignite.internal.processors.cache.database.tree.io.TrackingPageIO;
+import org.apache.ignite.internal.processors.cache.database.wal.FileWriteAheadLogManager;
 import org.apache.ignite.internal.util.typedef.F;
 import org.apache.ignite.internal.util.typedef.PA;
 import org.apache.ignite.internal.util.typedef.PAX;
@@ -77,6 +78,8 @@ import org.apache.ignite.testframework.junits.multijvm.IgniteProcessProxy;
 import org.junit.Assert;
 import sun.nio.ch.DirectBuffer;
 
+import static org.apache.ignite.internal.processors.cache.database.wal.FileWriteAheadLogManager.IGNITE_PDS_WAL_MODE;
+
 /**
  *
  */
@@ -406,7 +409,7 @@ public class IgniteWalRecoverySelfTest extends GridCommonAbstractTest
{
      */
     public void testHugeCheckpointRecord() throws Exception {
         try {
-            System.setProperty("GRIDGAIN_DB_WAL_MODE", "LOG_ONLY");
+            System.setProperty(IGNITE_PDS_WAL_MODE, "LOG_ONLY");
 
             final IgniteEx ignite = startGrid(1);
 
@@ -446,7 +449,7 @@ public class IgniteWalRecoverySelfTest extends GridCommonAbstractTest
{
             fut.get();
         }
         finally {
-            System.clearProperty("GRIDGAIN_DB_WAL_MODE");
+            System.clearProperty(IGNITE_PDS_WAL_MODE);
 
             stopAllGrids();
         }
@@ -457,7 +460,7 @@ public class IgniteWalRecoverySelfTest extends GridCommonAbstractTest
{
      */
     private void checkWalRolloverMultithreaded(boolean logOnly) throws Exception {
         if (logOnly)
-            System.setProperty("GRIDGAIN_DB_WAL_MODE", "LOG_ONLY");
+            System.setProperty(IGNITE_PDS_WAL_MODE, "LOG_ONLY");
 
         walSegmentSize = 2 * 1024 * 1024;
 
@@ -480,7 +483,7 @@ public class IgniteWalRecoverySelfTest extends GridCommonAbstractTest
{
             }, 16, "put-thread");
         }
         finally {
-            System.clearProperty("GRIDGAIN_DB_WAL_MODE");
+            System.clearProperty(IGNITE_PDS_WAL_MODE);
 
             stopAllGrids();
         }


Mime
View raw message