IgniteCacheNoClassQuerySelfTest: stop node if test fails.
@@ -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();
+ }
}
}
