From 568dc6770aed497239a3fd486539d590f6b5498b Mon Sep 17 00:00:00 2001 From: Stuart Longland Date: Wed, 8 Apr 2015 10:38:10 +1000 Subject: [PATCH] QAmqpQueue Tests: Wait for destroyed signal. Same issue, maybe with the state machine the QAmqpQueue takes a little longer to disappear. --- tests/auto/qamqpqueue/tst_qamqpqueue.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/auto/qamqpqueue/tst_qamqpqueue.cpp b/tests/auto/qamqpqueue/tst_qamqpqueue.cpp index 428b9f6..2f1b422 100644 --- a/tests/auto/qamqpqueue/tst_qamqpqueue.cpp +++ b/tests/auto/qamqpqueue/tst_qamqpqueue.cpp @@ -683,6 +683,7 @@ void tst_QAMQPQueue::cleanupOnDeletion() QVERIFY(waitForSignal(queue, SIGNAL(declared()))); queue->close(); queue->deleteLater(); + QVERIFY(waitForSignal(queue, SIGNAL(destroyed()))); // now create, declare, and close the right way queue = client->createQueue("test-deletion");