From 8423ba8f8c8b8ab0c737e7aa7f9b07a5d0d67e91 Mon Sep 17 00:00:00 2001 From: Pierre Equoy Date: Thu, 10 Sep 2015 18:25:58 +0800 Subject: providers:checkbox: Fix 3-4 tap tests to avoid X crashes It looks like X crashes when trying to re-enable Unity Shell Compiz plugin, after the QML touch test is run. In order to avoid that, we add a sleep command just before re-enabling Unity Shell Compiz plugin. --- jobs/touchscreen.txt.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jobs/touchscreen.txt.in b/jobs/touchscreen.txt.in index 455f592..53fd582 100644 --- a/jobs/touchscreen.txt.in +++ b/jobs/touchscreen.txt.in @@ -134,6 +134,7 @@ command: manage_compiz_plugin unityshell disable qmlscene -qt5 $PLAINBOX_PROVIDER_DATA/touch_tap_test.qml --touchpoints=3 2>&1 | grep -o PASS EXIT=$? + sleep 5 manage_compiz_plugin unityshell enable exit $EXIT @@ -154,5 +155,6 @@ command: manage_compiz_plugin unityshell disable qmlscene -qt5 $PLAINBOX_PROVIDER_DATA/touch_tap_test.qml --touchpoints=4 2>&1 | grep -o PASS EXIT=$? + sleep 5 manage_compiz_plugin unityshell enable exit $EXIT -- cgit v1.2.3