You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maxim Muzafarov (JIRA)" <ji...@apache.org> on 2018/04/06 09:17:00 UTC

[jira] [Created] (IGNITE-8157) Remove boilerplate and unused code due to grids stopping by default

Maxim Muzafarov created IGNITE-8157:
---------------------------------------

             Summary: 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
            Reporter: Maxim Muzafarov
            Assignee: Maxim Muzafarov
             Fix For: 2.5


Changes IGNITE-6842 guarantee us stopping all Ignite instances after test completion by default.
 # We should remove a lot of bolerplate code. 
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 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)