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.
This commit is contained in:
Adam Williamson 2016-09-26 11:35:07 -07:00
parent 683b819bf9
commit b4dc92ce67

View File

@ -14,6 +14,9 @@ sub prepare_test_packages {
# remove python3-kickstart if installed (we don't use assert # remove python3-kickstart if installed (we don't use assert
# here in case it's not) # here in case it's not)
script_run 'dnf -y remove python3-kickstart'; 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 # 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'; 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 # install the test packages from repo1