Skip to content

Commit

Permalink
ci: skip an unreliable test on macOS
Browse files Browse the repository at this point in the history
Sometimes, this test fails on macOS, at least on the GitHub CI.
It looks as if the fping process is killed before it produces
the required output.  This test works reliably on GNU/Linux, so
keep it, but skip it when running on macOS.
  • Loading branch information
auerswal committed Jun 23, 2024
1 parent 94de791 commit 56bd3d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ci/test-07-options-i-m.pl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@
}

# fping -l -Q
{
SKIP: {
if($^O eq 'darwin') {
skip 'On macOS, this test is unreliable', 2;
}
my $cmd = Test::Command->new(cmd => '(sleep 2; pkill fping)& fping -p 850 -l -Q 1 127.0.0.1');
$cmd->stdout_is_eq("");
$cmd->stderr_like(qr{\[\d\d:\d\d:\d\d\]
Expand Down

0 comments on commit 56bd3d8

Please sign in to comment.