Skip to content

Commit

Permalink
fix: close rmq client before killing rmq in integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bmstefanski committed Jan 23, 2025
1 parent 8778510 commit 871884f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ describe("ProductAttributes Command (e2e)", () => {
}, 180_000);

afterAll(async () => {
await client.close();
await app.close();
await rabbitMQContainer.stop();
await pgContainer.stop();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ describe("Product Command (e2e)", () => {
}, 300_000);

afterAll(async () => {
await client.close();
await app.close();
await rabbitMQContainer.stop();
await pgContainer.stop();
Expand Down

0 comments on commit 871884f

Please sign in to comment.