1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore(CI): Set a long test timeout for core_online_test

Same reasoning as 30d54b1b0f.
Missed the test timeout when increasing the verify timeout.
This commit is contained in:
Anthony Bilinski 2022-03-08 17:09:55 -08:00
parent 98bdf5f36f
commit e316a683ff
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -28,9 +28,11 @@
#include <QSignalSpy>
#include <QtGlobal>
#include <QtTest/QtTest>
#include <limits>
#include <QTest>
#include <QtGlobal>
#include <cassert>
#include <limits>
#include <iostream>
#include <memory>
@ -83,6 +85,8 @@ TestCoreOnline::TestCoreOnline()
qRegisterMetaType<ToxPk>("ToxPk");
qRegisterMetaType<uint32_t>("uint32_t");
qRegisterMetaType<Status::Status>("Status::Status");
auto timeout = QString("%1").arg(very_long_timeout);
assert(qputenv("QTEST_FUNCTION_TIMEOUT", timeout.toLatin1()));
}
void TestCoreOnline::init()