aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/tst_echoqtro.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/tst_echoqtro.cpp b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/tst_echoqtro.cpp
index 3883b60..2c2a86b 100644
--- a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/tst_echoqtro.cpp
+++ b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/tst_echoqtro.cpp
@@ -91,10 +91,11 @@ void EchoQtroTest::testInit()
QVERIFY(!client.isInitialized());
QCOMPARE(client.error(), QIviAbstractFeature::NoError);
- QVERIFY(server.start());
-
//wait until the client has connected and initial values are set
QSignalSpy initSpy(&client, SIGNAL(isInitializedChanged(bool)));
+
+ QVERIFY(server.start());
+
QVERIFY(initSpy.isValid());
initSpy.wait(1000);
QCOMPARE(initSpy.count(), 1);