ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [25/50] [abbrv] incubator-ignite git commit: # ignite-109 Fixed test
Date Fri, 30 Jan 2015 09:55:20 GMT
# ignite-109 Fixed test


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

Branch: refs/heads/ignite-67
Commit: e4cd6321c34e2b1490d360fc6e7d236d4be6c1b0
Parents: 5791d43
Author: sboikov <semen.boikov@inria.fr>
Authored: Thu Jan 29 07:27:05 2015 +0300
Committer: sboikov <semen.boikov@inria.fr>
Committed: Thu Jan 29 07:27:05 2015 +0300

----------------------------------------------------------------------
 .../cache/integration/IgniteCacheTxStoreSessionTest.java | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e4cd6321/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheTxStoreSessionTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheTxStoreSessionTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheTxStoreSessionTest.java
index c95461d..bfc8837 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheTxStoreSessionTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheTxStoreSessionTest.java
@@ -248,7 +248,6 @@ public class IgniteCacheTxStoreSessionTest extends IgniteCacheStoreSessionAbstra
     /**
      * @throws Exception If failed.
      */
-    // TODO IGNITE-109: fix test when fixed.
     public void testSessionCrossCacheTx() throws Exception {
         IgniteCache<Object, Object> cache0 = ignite(0).jcache(null);
 
@@ -262,8 +261,9 @@ public class IgniteCacheTxStoreSessionTest extends IgniteCacheStoreSessionAbstra
 
             cache1.put(key2, 0);
 
-            expData.add(new ExpectedData(true, "writeAll", new HashMap<>(), null));
-            expData.add(new ExpectedData(true, "txEnd", F.<Object, Object>asMap(0,
"writeAll"), null));
+            expData.add(new ExpectedData(true, "write", new HashMap<>(), null));
+            expData.add(new ExpectedData(true, "write", F.<Object, Object>asMap(0,
"write"), CACHE_NAME1));
+            expData.add(new ExpectedData(true, "txEnd", F.<Object, Object>asMap(0,
"write", 1, "write"), null));
 
             tx.commit();
         }
@@ -275,8 +275,9 @@ public class IgniteCacheTxStoreSessionTest extends IgniteCacheStoreSessionAbstra
 
             cache0.put(key2, 0);
 
-            expData.add(new ExpectedData(true, "writeAll", new HashMap<>(), null));
-            expData.add(new ExpectedData(true, "txEnd", F.<Object, Object>asMap(0,
"writeAll"), null));
+            expData.add(new ExpectedData(true, "write", new HashMap<>(), CACHE_NAME1));
+            expData.add(new ExpectedData(true, "write", F.<Object, Object>asMap(0,
"write"), null));
+            expData.add(new ExpectedData(true, "txEnd", F.<Object, Object>asMap(0,
"write", 1, "write"), null));
 
             tx.commit();
         }


Mime
View raw message