Set ServerThrottle=5 in integration test

This commit is contained in:
Alexey Sokolov
2024-01-07 00:53:02 +00:00
parent 1d3b33354f
commit 2605370fd1
+8
View File
@@ -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() {