Skip to content

Commit 71df57a

Browse files
committed
close connection, use amqp persistent connection
1 parent 01afc8d commit 71df57a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkg/enqueue-bundle/Tests/Functional/UseCasesTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ public function setUp()
2929

3030
public function tearDown()
3131
{
32+
if ($this->getPsrContext()) {
33+
$this->getPsrContext()->close();
34+
}
35+
3236
if (static::$kernel) {
3337
$fs = new Filesystem();
3438
$fs->remove(static::$kernel->getLogDir());
@@ -59,7 +63,6 @@ public function provideEnqueueConfigs()
5963
'pass' => getenv('SYMFONY__RABBITMQ__PASSWORD'),
6064
'vhost' => getenv('SYMFONY__RABBITMQ__VHOST'),
6165
'lazy' => true,
62-
'persisted' => false,
6366
],
6467
],
6568
]];

0 commit comments

Comments
 (0)