File: increase-test-timeout.patch

package info (click to toggle)
gammaray 2.11.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 20,820 kB
  • sloc: cpp: 92,591; ansic: 1,186; sh: 141; python: 115; lex: 99; yacc: 90; xml: 57; makefile: 24
file content (16 lines) | stat: -rw-r--r-- 493 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: increase test timeout to make tests less flaky
Author: Dmitry Shachnev <mitya57@debian.org>
Forwarded: no
Last-Update: 2020-10-31

--- a/tests/basequicktest.h
+++ b/tests/basequicktest.h
@@ -95,7 +95,7 @@ protected:
         }
 
         // wait at least two frames so we have the final window size with all render loop/driver combinations...
-        QTest::qWait(20);
+        QTest::qWait(100);
         renderSpy.wait();
         renderSpy.clear();
         m_view->update();