You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the queue is already declared it can cause error like this:
[PhpAmqpLib\Exception\AMQPProtocolChannelException] PRECONDITION_FAILED - inequivalent arg 'durable' for queue 'TEST.start' in vhost 'test_vhost': received 'false' but current is 'true'
Scenario Steps:
8. $I->pushToQueue("TEST.start","test") at tests/functional/startCest.php:53
I think that queue_declare call can be removed from pushToQueue, because separate declareQueue method was introduced in 2.2.9.
(Probably it is best to make this change in master branch)
The text was updated successfully, but these errors were encountered:
Still happening. If queue_declare() cannot be removed, \Codeception\Module\AMQP::pushToQueue() should at least take additional parameters or an array for allowing override of default arguments passed to queue_declare().
https://github.com/Codeception/Codeception/blob/2.2.10/src/Codeception/Module/AMQP.php#L153
If the queue is already declared it can cause error like this:
I think that
queue_declare
call can be removed frompushToQueue
, because separatedeclareQueue
method was introduced in 2.2.9.(Probably it is best to make this change in master branch)
The text was updated successfully, but these errors were encountered: