Skip to content
Commit 37eaba7e authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

Fix archivetest random failures

Due to a race condition, it may happen that the QTemporaryDir object in
CliInterface::copyFiles() is not yet destroyed when the event loop's exec()
in testExtraction() returns. When this happens, the temporary dir used for the
extraction occurs in the test's QDirIterator, causing the QCOMPARE to fail.

This is only a workaround, we should find a better solution.

Task: T1770
parent 6feae832
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment