Skip to content

Commit

Permalink
Testing: Increase sleep time for file modification time stamps
Browse files Browse the repository at this point in the history
  • Loading branch information
uklotzde committed Jan 20, 2022
1 parent e4a5d7d commit eb0c83f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/test/libraryfilesynctest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ void sleepBeforeUpdatingFileLastModifiedTime() {
// This grace period seems to be mandatory at least for the CI
// test runs and might need to be adjusted depending on the
// results for different platforms.
QThread::msleep(1);
//
// A sleep time of 1 ms has been reported to cause sporadic failures
// on Ubuntu 20.04 and Qt 5.12 because the file modification time has
// not been increased as expected when exporting track metadata into
// file tags.
QThread::msleep(2);
}

/// A temporary file system with a single audio file.
Expand Down

0 comments on commit eb0c83f

Please sign in to comment.