Repository: ignite
Updated Branches:
  refs/heads/ignite-6149 6d6e0c62b -> 1cb46592f


ignite-6149


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

Branch: refs/heads/ignite-6149
Commit: f3cf74c2c743790d803fa1f304b5cadc65e3149a
Parents: 6d6e0c6
Author: sboikov <[email protected]>
Authored: Wed Aug 30 15:23:23 2017 +0300
Committer: sboikov <[email protected]>
Committed: Wed Aug 30 15:23:23 2017 +0300

----------------------------------------------------------------------
 .../java/org/apache/ignite/internal/MvccTestApp.java  | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/f3cf74c2/modules/core/src/main/java/org/apache/ignite/internal/MvccTestApp.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/MvccTestApp.java 
b/modules/core/src/main/java/org/apache/ignite/internal/MvccTestApp.java
index a4bdd91..d5783ad 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/MvccTestApp.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/MvccTestApp.java
@@ -59,7 +59,7 @@ public class MvccTestApp {
     private static final boolean DEBUG_LOG = false;
 
     /** */
-    private static final boolean SQL = true;
+    private static final boolean SQL = false;
 
     public static void main1(String[] args) throws Exception {
         final MvccTestApp.TestCluster cluster = new MvccTestApp.TestCluster(1);
@@ -157,13 +157,13 @@ public class MvccTestApp {
     public static void main(String[] args) throws Exception {
         final AtomicBoolean err = new AtomicBoolean();
 
-        final int READ_THREADS = 3;
+        final int READ_THREADS = 4;
         final int UPDATE_THREADS = 4;
-        final int ACCOUNTS = 100;
+        final int ACCOUNTS = 50;
 
         final int START_VAL = 100000;
 
-        for (int iter = 0; iter < 5; iter++) {
+        for (int iter = 0; iter < 10; iter++) {
             System.out.println("Iteration [readThreads=" + READ_THREADS +
                 ", updateThreads=" + UPDATE_THREADS + ", accounts=" + ACCOUNTS 
+ ", iter=" + iter + ']');
 
@@ -201,7 +201,7 @@ public class MvccTestApp {
 
             cleanupThread.start();
 
-            final boolean REMOVES = true;
+            final boolean REMOVES = false;
 
             for (int i = 0; i < READ_THREADS; i++) {
                 final int id = i;
@@ -331,7 +331,7 @@ public class MvccTestApp {
                 thread.start();
             }
 
-            long endTime = System.currentTimeMillis() + 60_000;
+            long endTime = System.currentTimeMillis() + 2_000;
 
             while (!stop.get()) {
                 Thread.sleep(1000);
@@ -339,7 +339,7 @@ public class MvccTestApp {
                 if (System.currentTimeMillis() >= endTime)
                     break;
 
-                cluster.dumpMvccInfo();
+                //cluster.dumpMvccInfo();
             }
 
             stop.set(true);

Reply via email to