Skip to content

Commit

Permalink
Merge pull request #17914 from ilmanzo/poo137246_force_scheduled_tasks
Browse files Browse the repository at this point in the history
Relax max load average threshold to cope with flakyness
  • Loading branch information
ilmanzo committed Oct 10, 2023
2 parents 1b8e2bb + 27be343 commit 68e8a98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/console/force_scheduled_tasks.pm
Expand Up @@ -22,8 +22,8 @@ use utils 'assert_screen_with_soft_timeout';
use version_utils 'is_jeos';

sub settle_load {
my $loop = 'read load dummy < /proc/loadavg ; top -n1 -b| head -n30 ; test "${load/./}" -lt $limit && break ; sleep 5';
script_run "limit=10; for c in `seq 1 200`; do $loop; done; echo TOP-DONE > /dev/$serialdev", 0;
my $loop = 'read load dummy < /proc/loadavg ; top -n1 -b| head -n30 ; test "${load/./}" -le $limit && break ; sleep 5';
script_run "limit=11; for c in `seq 1 200`; do $loop; done; echo TOP-DONE > /dev/$serialdev", 0;
my $before = time;
wait_serial('TOP-DONE', 1120) || die 'load not settled';
# JeOS is different to SLE general as it extends the appliance's disk on first boot,
Expand Down

0 comments on commit 68e8a98

Please sign in to comment.