Skip to content

Commit

Permalink
Make timeout for try-restart longer
Browse files Browse the repository at this point in the history
Sometimes it takes a longer time to restart all services and reload
AppArmor profiles. Make the timeout longer.

Reference: https://progress.opensuse.org/issues/155413
  • Loading branch information
baierjan committed Sep 2, 2024
1 parent cf9c9a5 commit 14d65b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/install/apparmor.pm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sub run {
# Reload AppArmor to enforce newly installed profiles
assert_script_run('systemctl reload apparmor');
# Restart running services to apply loaded profiles
assert_script_run('systemctl try-restart openqa-*');
assert_script_run('systemctl try-restart openqa-*', timeout => 300);
assert_script_run('aa-status --filter.profiles="usr.share.openqa.*"');
}

Expand Down

0 comments on commit 14d65b8

Please sign in to comment.