mirror of
https://github.com/znc/znc.git
synced 2026-08-09 10:23:14 +02:00
Set ServerThrottle=5 in integration test
This commit is contained in:
@@ -48,6 +48,14 @@ void WriteConfig(QString path) {
|
||||
p.ReadUntil("Launch ZNC now?"); p.Write("no");
|
||||
p.ShouldFinishItself();
|
||||
// clang-format on
|
||||
|
||||
// Default 30s is too slow for the test
|
||||
QFile conf(path + "/configs/znc.conf");
|
||||
ASSERT_TRUE(conf.open(QIODevice::Append | QIODevice::Text));
|
||||
QTextStream out(&conf);
|
||||
out << R"(
|
||||
ServerThrottle = 5
|
||||
)";
|
||||
}
|
||||
|
||||
void ZNCTest::SetUp() {
|
||||
|
||||
Reference in New Issue
Block a user