From 2605370fd14631ab826af055c747cbfac6af775c Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sun, 7 Jan 2024 00:53:02 +0000 Subject: [PATCH] Set ServerThrottle=5 in integration test --- test/integration/framework/znctest.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/integration/framework/znctest.cpp b/test/integration/framework/znctest.cpp index 9adec608..1b81db6a 100644 --- a/test/integration/framework/znctest.cpp +++ b/test/integration/framework/znctest.cpp @@ -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() {