ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject ignite git commit: Fixed test.
Date Mon, 14 Sep 2015 06:43:53 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1.4 de632ace6 -> d07662248


Fixed test.


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

Branch: refs/heads/ignite-1.4
Commit: d07662248ddc02c39f42a026323b7e77e66bc1f0
Parents: de632ac
Author: sboikov <sboikov@gridgain.com>
Authored: Mon Sep 14 09:43:40 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Mon Sep 14 09:43:40 2015 +0300

----------------------------------------------------------------------
 .../processors/cache/GridCacheVariableTopologySelfTest.java     | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/d0766224/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheVariableTopologySelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheVariableTopologySelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheVariableTopologySelfTest.java
index 82e3f98..7078843 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheVariableTopologySelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheVariableTopologySelfTest.java
@@ -36,6 +36,7 @@ import org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder;
 import org.apache.ignite.testframework.GridTestUtils;
 import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
 import org.apache.ignite.transactions.Transaction;
+import org.apache.ignite.transactions.TransactionRollbackException;
 
 import static org.apache.ignite.cache.CacheAtomicityMode.TRANSACTIONAL;
 import static org.apache.ignite.cache.CacheMode.PARTITIONED;
@@ -142,8 +143,8 @@ public class GridCacheVariableTopologySelfTest extends GridCommonAbstractTest
{
 
                         tx.commit();
                     }
-                    catch (ClusterTopologyException e) {
-                        info("Caught topology exception: " + e);
+                    catch (TransactionRollbackException | ClusterTopologyException e) {
+                        info("Caught exception: " + e);
                     }
                     catch (IgniteException e) {
                         if (X.hasCause(e, ClusterTopologyCheckedException.class))


Mime
View raw message