From 87ca820bda0dbcf93d44204fee7b44ca64846558 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Mon, 3 Oct 2016 23:55:35 +0100 Subject: [PATCH] Make integration test to load until module is loaded before testing it. --- test/integration/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/integration/main.cpp b/test/integration/main.cpp index b99d30e8..2b484395 100644 --- a/test/integration/main.cpp +++ b/test/integration/main.cpp @@ -1699,6 +1699,8 @@ TEST_F(ZNCTest, NotifyConnectModule) { auto client = LoginClient(); Z; client.Write("znc loadmod notify_connect"); + client.ReadUntil("Loaded module"); + Z; auto client2 = ConnectClient(); client2.Write("PASS :hunter2");