Commit 69c7146a authored by David Edmundson's avatar David Edmundson

[autotests] Stabilise colorcorrect test

Summary:
It crashes occasionally as the connection thread is still processing events
when the app is tearing down. These changes bring it in line with the
other tests using WAYLANDTEST_MAIN.

Test Plan:
Relevant test now passes.
Ran repeatedl without a crash

Reviewers: #kwin

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D17254
parent 7834bec5
......@@ -61,10 +61,12 @@ void ColorCorrectNightColorTest::initTestCase()
void ColorCorrectNightColorTest::init()
{
QVERIFY(Test::setupWaylandConnection());
}
void ColorCorrectNightColorTest::cleanup()
{
Test::destroyWaylandConnection();
}
void ColorCorrectNightColorTest::testConfigRead_data()
......
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