Skip to content

Commit

Permalink
test QgsTileDownloadManager sometimes fail
Browse files Browse the repository at this point in the history
test QgsTileDownloadManager two requests for a single URL sometimes fail
  • Loading branch information
sdikiy authored and nyalldawson committed Mar 2, 2021
1 parent b596fef commit 0432424
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/src/core/testqgstiledownloadmanager.cpp
Expand Up @@ -151,6 +151,7 @@ void TestQgsTileDownloadManager::testOneRequestTwice()
QSignalSpy spy1( r1.get(), &QgsTileDownloadManagerReply::finished );
QSignalSpy spy2( r2.get(), &QgsTileDownloadManagerReply::finished );
spy1.wait();
spy2.wait();
QCoreApplication::processEvents();
QCOMPARE( spy1.count(), 1 );
QCOMPARE( spy2.count(), 1 );
Expand Down

0 comments on commit 0432424

Please sign in to comment.