From f6e2c07cd9a167f19a55b8efe2d2b00efc61ff38 Mon Sep 17 00:00:00 2001 From: jankapunkt Date: Mon, 15 Dec 2025 15:27:42 +0100 Subject: [PATCH 1/2] fix(ci): extended wait timeout --- .github/workflows/blaze-tests.yml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/blaze-tests.yml b/.github/workflows/blaze-tests.yml index 0ed61e15f..6a8d20045 100644 --- a/.github/workflows/blaze-tests.yml +++ b/.github/workflows/blaze-tests.yml @@ -1,14 +1,13 @@ # This workflow runs tests for the app using a similar setup as the CircleCI config. name: Blaze Tests -# Trigger on any push or pull request +# Trigger on any pull request +# and on pushes to the master branch on: push: branches: - - '**' + - master pull_request: - branches: - - '**' jobs: test-app: @@ -16,14 +15,14 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: submodules: recursive - name: Setup Node.js environment - uses: actions/setup-node@v4.2.0 + uses: actions/setup-node@v6 with: - node-version: 22.15.0 + node-version: 22 - name: Install Meteor run: | @@ -45,9 +44,16 @@ jobs: echo $! > /tmp/meteor_test_pid working-directory: test-app + # Wait for test-in-console to be ready for up to 6 minutes + # in order to accommodate slower CI environments - name: Wait for test-in-console to be ready run: | - for i in {1..60}; do + if lsof -i :4096; then + echo "Port 4096 is in use. Exiting." + exit 1 + fi + + for i in {1..360}; do if grep -q 'test-in-console listening' /tmp/meteor_test_output.log; then echo "test-in-console is ready." break From 5d3bcfd2c3c7a668e68e5953b7ff2993ff3e6561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20K=C3=BCster?= Date: Mon, 15 Dec 2025 15:41:17 +0100 Subject: [PATCH 2/2] Update .github/workflows/blaze-tests.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/blaze-tests.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/blaze-tests.yml b/.github/workflows/blaze-tests.yml index 6a8d20045..0dd1c3024 100644 --- a/.github/workflows/blaze-tests.yml +++ b/.github/workflows/blaze-tests.yml @@ -48,10 +48,6 @@ jobs: # in order to accommodate slower CI environments - name: Wait for test-in-console to be ready run: | - if lsof -i :4096; then - echo "Port 4096 is in use. Exiting." - exit 1 - fi for i in {1..360}; do if grep -q 'test-in-console listening' /tmp/meteor_test_output.log; then