ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Rakov (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (IGNITE-10614) investigate blocking of WalCompactionTest.testCompressorToleratesEmptyWalSegmentsFsync at stopping grids when migrating from JUnit 3 to 4
Date Mon, 10 Dec 2018 08:58:00 GMT

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

Ivan Rakov reassigned IGNITE-10614:
-----------------------------------

    Assignee: Ivan Rakov

> 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: Sub-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)

Mime
View raw message