From 3020a118c021e17a57dabb5c379e1a4095f15cbc Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Mon, 30 Sep 2024 15:13:57 -0700 Subject: [PATCH] reduce timeout errors --- .github/workflows/build_reusable.yml | 2 +- test/development/basic/hmr.test.ts | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_reusable.yml b/.github/workflows/build_reusable.yml index 0d48f5403af8a..fc65bcaad6b81 100644 --- a/.github/workflows/build_reusable.yml +++ b/.github/workflows/build_reusable.yml @@ -171,7 +171,7 @@ jobs: - run: turbo run get-test-timings -- --build ${{ github.sha }} - run: /bin/bash -c "${{ inputs.afterBuild }}" - timeout-minutes: 15 + timeout-minutes: 20 - name: Upload artifact uses: actions/upload-artifact@v4 diff --git a/test/development/basic/hmr.test.ts b/test/development/basic/hmr.test.ts index 9f59949f890bc..18769f535783c 100644 --- a/test/development/basic/hmr.test.ts +++ b/test/development/basic/hmr.test.ts @@ -19,9 +19,11 @@ import { NextConfig } from 'next' describe.each([ { basePath: '', assetPrefix: '' }, - { basePath: '', assetPrefix: '/asset-prefix' }, { basePath: '/docs', assetPrefix: '' }, - { basePath: '/docs', assetPrefix: '/asset-prefix' }, + // this is a long running test reduce runtime by + // only running on main cases above + // { basePath: '', assetPrefix: '/asset-prefix' }, + // { basePath: '/docs', assetPrefix: '/asset-prefix' }, ])('basic HMR, nextConfig: %o', (nextConfig: Partial) => { const { basePath } = nextConfig let next: NextInstance