You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ermakov (Jira)" <ji...@apache.org> on 2022/02/22 15:35:00 UTC

[jira] [Created] (IGNITE-16620) Flacky test LocalSnapshotCopierTest#testInterrupt

Vladimir Ermakov created IGNITE-16620:
-----------------------------------------

             Summary: Flacky test LocalSnapshotCopierTest#testInterrupt
                 Key: IGNITE-16620
                 URL: https://issues.apache.org/jira/browse/IGNITE-16620
             Project: Ignite
          Issue Type: Bug
            Reporter: Vladimir Ermakov


org.apache.ignite.raft.jraft.storage.snapshot.local.LocalSnapshotCopierTest#testInterrupt

test seems flacky.

To reproduce: run the test cyclically until it failure.

Reason:

Code in LocalSnashotCopier#loadMetaTable
{code:java}
if (!session.status().isOk() && isOk()) {code}
doesn't expect that the LocalSnashotCopier object's internal state (which is checked in isOk() method) could be changed by another thread, and is set to interrupted.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)