[PATCH] t/lei-refresh-mail-sync: improve test reliability

2023-03-28 Thread Eric Wong
Lack of signalfd/EVFILT_SIGNAL means we need to kill a process repeatedly to ensure it wakes up. --- t/lei-refresh-mail-sync.t | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/t/lei-refresh-mail-sync.t b/t/lei-refresh-mail-sync.t index 0498a0c4..8ccc68c6 100644 --- a/t/l

[PATCH] t/lei-refresh-mail-sync: improve test reliability

2021-09-18 Thread Eric Wong
We can't assume -imapd will be ready by the time we try to connect to it after restart when using "-l $ADDR". So recreate the (closed-for-testing) listen socket in the parent and hand it off to -imapd as we do normally --- t/lei-refresh-mail-sync.t | 16 +--- 1 file changed, 13 insert