* [PATCH] t/sigfd: add diagnostic for occasional FreeBSD failure
@ 2021-06-18 19:28 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2021-06-18 19:28 UTC (permalink / raw)
To: meta
Not 100% sure what's going on, here...
---
t/sigfd.t | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/t/sigfd.t b/t/sigfd.t
index bb854147..a1ab222c 100644
--- a/t/sigfd.t
+++ b/t/sigfd.t
@@ -47,7 +47,8 @@ SKIP: {
kill('HUP', $$) or die "kill $!";
PublicInbox::DS->SetPostLoopCallback(sub {}); # loop once
PublicInbox::DS->EventLoop;
- is($hit->{HUP}->{sigfd}, 2, 'HUP sigfd fired in event loop');
+ is($hit->{HUP}->{sigfd}, 2, 'HUP sigfd fired in event loop') or
+ diag explain($hit); # sometimes fails on FreeBSD 11.x
kill('TERM', $$) or die "kill $!";
kill('HUP', $$) or die "kill $!";
PublicInbox::DS->EventLoop;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-18 19:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-18 19:28 [PATCH] t/sigfd: add diagnostic for occasional FreeBSD failure Eric Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).