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)

Reply via email to