From 8f204edac0db803b5ba0e5067b46207d19ae46f9 Mon Sep 17 00:00:00 2001 From: Stephen Cresswell <229672+cressie176@users.noreply.github.com> Date: Mon, 27 May 2024 15:36:24 +0100 Subject: [PATCH] Debug breaking tests --- .github/workflows/node-js-ci.yml | 4 +++- test/subscriptions.tests.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node-js-ci.yml b/.github/workflows/node-js-ci.yml index 7f57938..afd53bb 100644 --- a/.github/workflows/node-js-ci.yml +++ b/.github/workflows/node-js-ci.yml @@ -13,7 +13,7 @@ jobs: - 15672:15672 strategy: matrix: - node-version: [14.x, 16.x, 18.x, 20.x] + node-version: [14.x] steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 @@ -21,6 +21,8 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm run lint + - env: + DEBUG: "Rascal:*" - run: npm test code-climate: diff --git a/test/subscriptions.tests.js b/test/subscriptions.tests.js index 94faa32..9a01388 100644 --- a/test/subscriptions.tests.js +++ b/test/subscriptions.tests.js @@ -1762,7 +1762,7 @@ describe('Subscriptions', () => { }); }, ); - }, { timeout: 10000 }); + }, { exclusive: true, timeout: 10000 }); it('should forward messages to publication when requested', (test, done) => { createBroker(