aboutsummaryrefslogblamecommitdiffstats
path: root/community/gwenview/fix-imagescalertest.patch
blob: 27a0a3589d64472136baf7bcf60fbd58b0741dd1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

                                             












                                                                            
Fixes the testCaleFullImage() test timing out

diff --git a/tests/auto/imagescalertest.cpp b/tests/auto/imagescalertest.cpp
index fdcc953..41b70b3 100644
--- a/tests/auto/imagescalertest.cpp
+++ b/tests/auto/imagescalertest.cpp
@@ -53,7 +53,7 @@ void ImageScalerTest::testScaleFullImage()
 
     QSignalSpy spy(&scaler, SIGNAL(scaledRect(int,int,QImage)));
 
-    bool ok = spy.wait(30);
+    bool ok = spy.wait(500);
     QVERIFY2(ok, "ImageScaler did not emit scaledRect() signal in time");
 
     // Document should be fully loaded by the time image scaler is done