From f9e1bc686f74aecfe0dc343592005e3644c462e5 Mon Sep 17 00:00:00 2001 From: Igor Savin Date: Wed, 27 Sep 2023 22:39:33 +0300 Subject: [PATCH] Try closing publisher --- packages/amqp/test/consumers/AmqpPermissionsConsumer.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/amqp/test/consumers/AmqpPermissionsConsumer.spec.ts b/packages/amqp/test/consumers/AmqpPermissionsConsumer.spec.ts index 28589d98..abeddbe0 100644 --- a/packages/amqp/test/consumers/AmqpPermissionsConsumer.spec.ts +++ b/packages/amqp/test/consumers/AmqpPermissionsConsumer.spec.ts @@ -139,6 +139,7 @@ describe('PermissionsConsumer', () => { expect(updatedUsersPermissions).toBeDefined() expect(updatedUsersPermissions[0]).toHaveLength(2) + await publisher.close() await consumer.close() })