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

Allow twice as long for cockpit log refresh

After we change the log level in Cockpit, on aarch64, it seems
to take quite a long time to reload the messages. This allows
twice as long, with a soft failure if we get into the back half.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2021-09-22 14:05:02 -07:00
parent 28d2242bb3
commit 6b140fd4ad

View File

@ -21,7 +21,13 @@ sub run {
type_string "info\n"; type_string "info\n";
wait_still_screen 5; wait_still_screen 5;
# now click an entry # now click an entry
assert_and_click "cockpit_logs_entry"; if (check_screen "cockpit_logs_entry", 30) {
click_lastmatch;
}
else {
assert_and_click "cockpit_logs_entry";
record_soft_failure "Log refresh took a long time";
}
# check we get to the appropriate detail screen # check we get to the appropriate detail screen
assert_screen "cockpit_logs_detail"; assert_screen "cockpit_logs_detail";
# go to the services screen # go to the services screen