You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Oleg Ignatenko (JIRA)" <ji...@apache.org> on 2019/02/05 08:50:00 UTC

[jira] [Updated] (IGNITE-10614) investigate blocking of WalCompactionTest.testCompressorToleratesEmptyWalSegmentsFsync at stopping grids when migrating from JUnit 3 to 4

     [ https://issues.apache.org/jira/browse/IGNITE-10614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Ignatenko updated IGNITE-10614:
------------------------------------
    Issue Type: Task  (was: Sub-task)
        Parent:     (was: IGNITE-10951)

> investigate blocking of WalCompactionTest.testCompressorToleratesEmptyWalSegmentsFsync at stopping grids when migrating from JUnit 3 to 4
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-10614
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10614
>             Project: Ignite
>          Issue Type: Task
>    Affects Versions: 2.8
>            Reporter: Oleg Ignatenko
>            Assignee: Ivan Rakov
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain
>
> {{WalCompactionTest.testCompressorToleratesEmptyWalSegmentsFsync}} runs OK under JUnit 3 but blocks at stopping grids when migrating to JUnit 4.
>  Workaround for that (discovered by [~EdShangGG]) is to run stopAllGrids in separate thread:
>  {code}
>      @Override protected void afterTest() throws Exception {
>          Thread thread = new Thread(this::stopAllGrids);
>          thread.start();
>          thread.join(getTestTimeout());
>          cleanPersistenceDir();
>      }
> {code}
> If needed, [here is a diff at Github|https://github.com/apache/ignite/pull/5615/commits/1b342ee4c8c772b0e57583ee7f8721fc2c070bcf] with more context.
> Need to find out what is going on there and if something needs to be changed in this test or maybe in parent test classes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)