QAmqpExchange tests: Wait for destroyed signal.
Maybe my laptop is too quick, but it seems the exchange hangs around a little too long for this test to pass.
This commit is contained in:
parent
31f90a17a0
commit
f79e96fae8
|
|
@ -209,6 +209,7 @@ void tst_QAMQPExchange::cleanupOnDeletion()
|
|||
QVERIFY(waitForSignal(exchange, SIGNAL(declared())));
|
||||
exchange->close();
|
||||
exchange->deleteLater();
|
||||
QVERIFY(waitForSignal(exchange, SIGNAL(destroyed())));
|
||||
|
||||
// now create, declare, and close the right way
|
||||
exchange = client->createExchange("test-deletion");
|
||||
|
|
|
|||
Loading…
Reference in New Issue