Change afterTest() annotation in TcpDiscoveryFailedJoinTest
@@ -32,7 +32,6 @@ import org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder;
import org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractMessage;
import org.apache.ignite.testframework.GridTestUtils;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
-import org.junit.After;
import org.junit.Test;
/**
@@ -75,9 +74,8 @@ public class TcpDiscoveryFailedJoinTest extends GridCommonAbstractTest {
return cfg;
}
- /** */
- @After
- public void afterTest() throws Exception {
+ /** {@inheritDoc} */
+ @Override protected void afterTest() throws Exception {
stopAllGrids();
}
