QAmqpQueue Tests: Wait for destroyed signal.
Same issue, maybe with the state machine the QAmqpQueue takes a little longer to disappear.
This commit is contained in:
parent
f79e96fae8
commit
568dc6770a
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue