Make integration test to load until module is loaded before testing it.

This commit is contained in:
Alexey Sokolov
2016-10-03 23:55:35 +01:00
parent a6c79fa1e1
commit 87ca820bda

View File

@@ -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");