[ https://issues.apache.org/jira/browse/IGNITE-8157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikolay Izhikov updated IGNITE-8157: ------------------------------------ Fix Version/s: (was: 2.7) 2.8 > Remove boilerplate and unused code due to grids stopping by default > ------------------------------------------------------------------- > > Key: IGNITE-8157 > URL: https://issues.apache.org/jira/browse/IGNITE-8157 > Project: Ignite > Issue Type: Task > Affects Versions: 2.4 > Reporter: Maxim Muzafarov > Priority: Minor > Labels: test > Fix For: 2.8 > > > Changes IGNITE-6842 guarantee us stopping all Ignite instances after test > completion by default. > # We should remove a lot of bolerplate code in our test-classes. > e.g. > {code:java|title=BaseDecisionTreeTest.java|borderStyle=solid} > /** {@inheritDoc} */ > @Override protected void afterTestsStopped() throws Exception { > stopAllGrids(); > } > {code} > # We shuold carefully review whole usages of stopAllGrids method in our > test-classes and remove if it not necessary anymore or change for using in > proper way\position. > e.g. > {code:java|title=TcpClientDiscoverySpiSelfTest.java|borderStyle=solid} > /** {@inheritDoc} */ > @Override protected void afterTest() throws Exception { > stopAllClients(true); > stopAllServers(true); > > ... > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)