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:21:00 UTC
[jira] [Updated] (IGNITE-8157) Remove boilerplate and unused code
due to grids stopping by default
[ https://issues.apache.org/jira/browse/IGNITE-8157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maxim Muzafarov updated IGNITE-8157:
------------------------------------
Affects Version/s: 2.4
> 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
> Assignee: Maxim Muzafarov
> Priority: Minor
> Labels: test
> Fix For: 2.6
>
>
> 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)