Skip to content

Commit

Permalink
GidTest: don't set resources offline on test start
Browse files Browse the repository at this point in the history
The GidTest needs to retrieve item payload from the resource, so we
need the resources to be online for that, otherwise the tests timeouts.
  • Loading branch information
danvratil committed Jun 5, 2016
1 parent 9ca82cb commit 0af638c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions autotests/libs/gidtest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,6 @@ void GidTest::initTestCase()
AkonadiTest::checkTestIsIsolated();
Control::start();

AkonadiTest::setAllResourcesOffline();
Akonadi::AgentInstance agent = Akonadi::AgentManager::self()->instance(QStringLiteral("akonadi_knut_resource_0"));
QVERIFY(agent.isValid());
agent.setIsOnline(true);

ItemSerializer::overridePluginLookup(new TestSerializer);
}

Expand Down

0 comments on commit 0af638c

Please sign in to comment.