1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-14 10:44:22 +00:00

Try to refresh package db.

This commit is contained in:
Lukas Ruzicka 2018-06-28 15:50:24 +02:00
parent cac403544a
commit ef0e6ab593

View File

@ -11,6 +11,8 @@ sub run {
$self->root_console(tty=>3); $self->root_console(tty=>3);
assert_script_run 'dnf config-manager --set-disabled updates-testing'; assert_script_run 'dnf config-manager --set-disabled updates-testing';
prepare_test_packages; prepare_test_packages;
# sometimes, the test is failing because it cannot
# refresh packages for Gnome Software. Let's do it explicitely.
assert_script_run "su -c \"pkcon refresh force\" -s /bin/sh test" assert_script_run "su -c \"pkcon refresh force\" -s /bin/sh test"
# get back to the desktop # get back to the desktop
desktop_vt; desktop_vt;