Increase znc-buildmod timeout in the test.

For some slow systems 30s is too small.
This commit is contained in:
Alexey Sokolov
2019-04-19 12:13:44 +01:00
parent 9966bea961
commit 964747e6b4
4 changed files with 16 additions and 15 deletions
+2
View File
@@ -217,6 +217,7 @@ TEST_F(ZNCTest, BuildMod) {
proc->setProcessChannelMode(QProcess::ForwardedChannels);
});
p.ShouldFinishItself(1);
p.ShouldFinishInSec(300);
}
{
Process p(ZNC_BIN_DIR "/znc-buildmod",
@@ -226,6 +227,7 @@ TEST_F(ZNCTest, BuildMod) {
proc->setProcessChannelMode(QProcess::ForwardedChannels);
});
p.ShouldFinishItself();
p.ShouldFinishInSec(300);
}
client.Write("znc loadmod testmod");
client.Write("PRIVMSG *testmod :hi");