From b4dc92ce67839d4e7aa49e93914a524fd6d77a3a Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 26 Sep 2016 11:35:07 -0700 Subject: [PATCH] wait_idle in prepare_test_packages, hope this fixes typing See https://openqa.stg.fedoraproject.org/tests/46189 etc. - we often seem to lose keystrokes in the command right after removing python3-kickstart, let's hope a wait_idle helps. --- lib/packagetest.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/packagetest.pm b/lib/packagetest.pm index 4e62ba01..b1e5cfe0 100644 --- a/lib/packagetest.pm +++ b/lib/packagetest.pm @@ -14,6 +14,9 @@ sub prepare_test_packages { # remove python3-kickstart if installed (we don't use assert # here in case it's not) script_run 'dnf -y remove python3-kickstart'; + # we seem to often lose keystrokes in the next command if we run + # it too fast, let's wait for idle first + wait_idle 7; # grab the test repo definitions assert_script_run 'curl -o /etc/yum.repos.d/openqa-testrepo-1.repo https://fedorapeople.org/groups/qa/openqa-repos/openqa-testrepo-1.repo'; # install the test packages from repo1