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");