on xenial help sign in
Change sleeps to waits in tests. Change wait time to correct units.
commit7c6231d287825afeb1d712be2cdbd9de98a17412 authorJosh Arenson <joshua.arenson@canonical.com> dateWed 10 Dec 2014, 11:33 (12 years ago) parent6dc418d
1 file changed+2−2
tests/qmltests/Components/tst_PhysicalKeysFilter.qml+2−2
tests/qmltests/Components/tst_PhysicalKeysFilter.qml+2−2
@@ -64,7 +64,7 @@ Item {
6464 compare(onBothVolumeKeysPressedCount, 1);
6565
6666 // Simulate holding the keys down
67− sleep(3);
67+ wait(3000);
6868 compare(onBothVolumeKeysPressedCount, 1);
6969 }
7070
@@ -82,7 +82,7 @@ Item {
8282 compare(onScreenshotPressedCount, 1);
8383 compare(onVolumeDownPressedCount, 0);
8484
85− sleep(3);
85+ wait(3000);
8686 compare(onScreenshotPressedCount, 1);
8787 compare(onVolumeDownPressedCount, 0);
8888 }