increase the tryCompare timeout value to make the CI happy
authorCharles Yin <charles.yin@nokia.com>
Thu, 28 Jul 2011 00:19:23 +0000 (10:19 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 28 Jul 2011 00:20:29 +0000 (02:20 +0200)
Change-Id: I9561213295969f3064637584f45deb66f56c071b
Reviewed-on: http://codereview.qt.nokia.com/2309
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Charles Yin <charles.yin@nokia.com>
tests/auto/qmltest/events/tst_events.qml

index f228637..e3d0b13 100644 (file)
@@ -74,13 +74,13 @@ Rectangle {
 
         function test_key_click() {
             keyClick(Qt.Key_Left)
-            tryCompare(top, "leftKeyPressed", true)
-            tryCompare(top, "leftKeyReleased", true)
+            tryCompare(top, "leftKeyPressed", true, 10000)
+            tryCompare(top, "leftKeyReleased", true, 10000)
         }
 
         function test_mouse_click() {
             mouseClick(top, 25, 30)
-            tryCompare(top, "mouseHasBeenClicked", true)
+            tryCompare(top, "mouseHasBeenClicked", true, 10000)
         }
     }
 }