Skip to content

Commit bbb789b

Browse files
committed
Be a little more lenient in interval checking
1 parent dfeebad commit bbb789b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

S17-scheduler/every.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ my $name = $*SCHEDULER.^name;
2424
$*SCHEDULER.cue({ cas $a, {.succ}; die }, :every(0.1), :catch({ cas $b, {.succ} }));
2525
sleep 1;
2626
diag "seen $a runs" if !
27-
ok 5 < $a < 15, "Cue with :every/:catch schedules repeatedly (1)";
27+
ok 3 < $a < 15, "Cue with :every/:catch schedules repeatedly (1)";
2828
diag "seen $b deaths" if !
29-
ok 5 < $b < 15, "Cue with :every/:catch schedules repeatedly (2)";
29+
ok 3 < $b < 15, "Cue with :every/:catch schedules repeatedly (2)";
3030
}
3131

3232
{

0 commit comments

Comments
 (0)