From 7db013780b5318cb383c49caef4f77d39d440ea9 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 14 Jul 2016 00:27:06 +0200 Subject: Ping the server first to make sure it's available. This significantely reduces the time required to execute the tests. --- examples/imapresource/tests/imapserverproxytest.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/imapresource/tests/imapserverproxytest.cpp') diff --git a/examples/imapresource/tests/imapserverproxytest.cpp b/examples/imapresource/tests/imapserverproxytest.cpp index ef695b3..80dcbea 100644 --- a/examples/imapresource/tests/imapserverproxytest.cpp +++ b/examples/imapresource/tests/imapserverproxytest.cpp @@ -25,6 +25,7 @@ class ImapServerProxyTest : public QObject private slots: void initTestCase() { + Sink::Test::initTest(); QTcpSocket socket; socket.connectToHost("localhost", 993); QVERIFY(socket.waitForConnected(200)); -- cgit v1.2.3