Commit e8c7c2fb authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

Avoid a runtime KLauncher dependency in the test

This should fix the failing test on the CI.
Warning on the CI says:

QDBusConnection: warning: blocking call took a long time (380 ms, max
for this thread is 200 ms) to service "org.kde.klauncher5" path
"/KLauncher" interface "org.kde.KSlaveLauncher" member "requestSlave"
parent 7f31d457
......@@ -26,6 +26,7 @@ class ListTest : public QObject
private Q_SLOTS:
void initTestCase();
void testListJob();
......@@ -34,6 +35,12 @@ private:
void ListTest::initTestCase()
// Avoid a runtime dependency on KLauncher.
qputenv("KDE_FORK_SLAVES", "yes");
void ListTest::testListJob()
const auto gdriveRoot = QUrl(QStringLiteral("gdrive:/"));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment