ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [13/31] ignite git commit: IgniteCacheNoClassQuerySelfTest: stop node if test fails.
Date Tue, 06 Jun 2017 10:01:34 GMT
IgniteCacheNoClassQuerySelfTest: stop node if test fails.


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

Branch: refs/heads/ignite-5267
Commit: eaf8e14ad44d69471fd6c1561b14a2ec849b4252
Parents: 986c07a
Author: sboikov <sboikov@gridgain.com>
Authored: Tue Jun 6 10:38:58 2017 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Tue Jun 6 10:38:58 2017 +0300

----------------------------------------------------------------------
 .../processors/cache/IgniteCacheNoClassQuerySelfTest.java       | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/eaf8e14a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheNoClassQuerySelfTest.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheNoClassQuerySelfTest.java
b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheNoClassQuerySelfTest.java
index e0148b3..b03e948 100644
--- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheNoClassQuerySelfTest.java
+++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheNoClassQuerySelfTest.java
@@ -114,9 +114,14 @@ public class IgniteCacheNoClassQuerySelfTest extends GridCommonAbstractTest
{
     public void testNoClass() throws Exception {
         try {
             startGrid();
+
+            fail();
         }
         catch (Exception e) {
             assertTrue(e.getMessage().contains("default marshaller"));
         }
+        finally {
+            stopAllGrids();
+        }
     }
 }


Mime
View raw message