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:
parent
98bdf5f36f
commit
e316a683ff
|
@ -28,9 +28,11 @@
|
||||||
#include <QSignalSpy>
|
#include <QSignalSpy>
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
#include <QtTest/QtTest>
|
#include <QtTest/QtTest>
|
||||||
#include <limits>
|
|
||||||
|
|
||||||
#include <QTest>
|
#include <QTest>
|
||||||
|
#include <QtGlobal>
|
||||||
|
|
||||||
|
#include <cassert>
|
||||||
|
#include <limits>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
@ -83,6 +85,8 @@ TestCoreOnline::TestCoreOnline()
|
||||||
qRegisterMetaType<ToxPk>("ToxPk");
|
qRegisterMetaType<ToxPk>("ToxPk");
|
||||||
qRegisterMetaType<uint32_t>("uint32_t");
|
qRegisterMetaType<uint32_t>("uint32_t");
|
||||||
qRegisterMetaType<Status::Status>("Status::Status");
|
qRegisterMetaType<Status::Status>("Status::Status");
|
||||||
|
auto timeout = QString("%1").arg(very_long_timeout);
|
||||||
|
assert(qputenv("QTEST_FUNCTION_TIMEOUT", timeout.toLatin1()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void TestCoreOnline::init()
|
void TestCoreOnline::init()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user