[
https://issues.apache.org/jira/browse/IGNITE-10614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16714289#comment-16714289
]
Oleg Ignatenko commented on IGNITE-10614:
-----------------------------------------
[~EdShangGG] here is a ticket to investigate the issue we discussed recently
> 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
> 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)