From 8717badcfc2de8cd6d6dcd0e440bdcf0e1924b97 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Tue, 21 Apr 2020 23:09:11 +0100 Subject: [PATCH] Try fix flaky ZNCTest.AwayNotify --- test/integration/tests/core.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/integration/tests/core.cpp b/test/integration/tests/core.cpp index a3f0d4da..863754fe 100644 --- a/test/integration/tests/core.cpp +++ b/test/integration/tests/core.cpp @@ -264,6 +264,9 @@ TEST_F(ZNCTest, AwayNotify) { client.ReadUntil(":x!y@z AWAY :reason"); ircd.Close(); client.ReadUntil("DEL :away-notify"); + // This test often fails on macos due to ZNC process not finishing. + // No idea why. Let's try to shutdown it more explicitly... + client.Write("znc shutdown"); } TEST_F(ZNCTest, JoinKey) {