From b4fd6777d646b2f8ec21cf1e7285e44fc71c4c47 Mon Sep 17 00:00:00 2001 From: Sangita Nalkar <40229345+sangitanalkar@users.noreply.github.com> Date: Tue, 25 Feb 2025 01:48:15 +0530 Subject: [PATCH] Fix Integration test failures for Big endian on GA CI (#6702) ## What's the problem this PR addresses? Fixes the GA CI Integration jobs failing for Big endian. ## How did you fix it? 1. Changed the Ubuntu image to Ubuntu 22.04 for Big Endian jobs as it fixes the test case failures. Also Ubuntu 20.04 is EOL in April 2025 2. Increased TEST_TIMEOUT for Big Endian to fix the following TC failing due to timeout issue: `pkg-tests-specs/sources/commands/constraints/fix.test.js` ## Checklist - [x] I have read the [Contributing Guide](https://yarnpkg.com/advanced/contributing). - [x] I have set the packages that need to be released for my changes to be effective. - [x] I will check that all automated PR checks pass before the PR gets reviewed. --- .github/workflows/integration-workflow.yml | 2 +- packages/acceptance-tests/pkg-tests-core/sources/utils/tests.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration-workflow.yml b/.github/workflows/integration-workflow.yml index 3b32d30047e0..2a63279216a7 100644 --- a/.github/workflows/integration-workflow.yml +++ b/.github/workflows/integration-workflow.yml @@ -273,7 +273,7 @@ jobs: shard: ['1/4', '2/4', '3/4', '4/4'] name: 'Big-endian debian w/ Node.js latest (${{matrix.shard}})' - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: | github.ref == 'refs/heads/master' needs: build diff --git a/packages/acceptance-tests/pkg-tests-core/sources/utils/tests.ts b/packages/acceptance-tests/pkg-tests-core/sources/utils/tests.ts index 4d1862df50ef..88a12e8b098f 100644 --- a/packages/acceptance-tests/pkg-tests-core/sources/utils/tests.ts +++ b/packages/acceptance-tests/pkg-tests-core/sources/utils/tests.ts @@ -27,7 +27,7 @@ const staticServer = serveStatic(npath.fromPortablePath(require(`pkg-tests-fixtu // Testing things inside a big-endian container takes forever export const TEST_TIMEOUT = os.endianness() === `BE` - ? 150000 + ? 200000 : 75000; export type PackageEntry = Map}>;