You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2018/07/27 15:01:47 UTC
[5/7] ignite git commit: ignite-6467
ignite-6467
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/17759911
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/17759911
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/17759911
Branch: refs/heads/ignite-6467
Commit: 177599115f0bfc434c98b0f5b48b2e00fd938563
Parents: b01f11b
Author: sboikov <sb...@apache.org>
Authored: Tue Jul 24 10:43:40 2018 +0300
Committer: sboikov <sb...@apache.org>
Committed: Tue Jul 24 10:43:40 2018 +0300
----------------------------------------------------------------------
.../cache/distributed/CacheExchangeMergeTest.java | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/17759911/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheExchangeMergeTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheExchangeMergeTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheExchangeMergeTest.java
index dbf95f4..0b6a3f3 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheExchangeMergeTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheExchangeMergeTest.java
@@ -412,7 +412,14 @@ public class CacheExchangeMergeTest extends GridCommonAbstractTest {
Object val = cache.get(key);
- assertEquals(err, i, val);
+ try {
+ assertEquals(err, i, val);
+ } catch (AssertionFailedError err0) {
+ err0.printStackTrace(System.out);
+ TestDebugLog1.addMessage("0 " + err0.getMessage());
+ TestDebugLog1.printKeyAndPartMessages("test_debug.txt", key, node.affinity(cacheName).partition(key), CU.cacheId(cacheName));
+ System.exit(1);
+ }
}
for (int i = 0; i < 5; i++) {
@@ -443,7 +450,7 @@ public class CacheExchangeMergeTest extends GridCommonAbstractTest {
if (cache.getConfiguration(CacheConfiguration.class).getAtomicityMode() == TRANSACTIONAL) {
for (TransactionConcurrency concurrency : TransactionConcurrency.values()) {
for (TransactionIsolation isolation : TransactionIsolation.values())
- checkNodeCaches(err, node, cache, TransactionConcurrency.PESSIMISTIC, TransactionIsolation.REPEATABLE_READ);
+ checkNodeCaches(err, node, cache, concurrency, isolation);
}
}
}
@@ -490,7 +497,7 @@ public class CacheExchangeMergeTest extends GridCommonAbstractTest {
}
catch (ClusterTopologyException ignore) {
// No-op.
- ignore.printStackTrace();
+ ignore.printStackTrace(System.out);
return;
}