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
@@ -70,6 +70,7 @@ class Process : public IO<QProcess> {
m_exit = code;
}
void CanDie() { m_allowDie = true; }
void ShouldFinishInSec(int sec) { m_finishTimeoutSec = sec; }
// I can't do much about SWIG...
void CanLeak() { m_allowLeak = true; }
@@ -80,6 +81,7 @@ class Process : public IO<QProcess> {
bool m_allowDie = false;
bool m_allowLeak = false;
QProcess m_proc;
int m_finishTimeoutSec = 30;
};
// Can't use QEventLoop without existing QCoreApplication