diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 724f3813e..c7a0e9402 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,7 @@ env: jobs: test: - runs-on: ubuntu-20.04 + runs-on: codebuild-soci-github-ci-pipeline-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge timeout-minutes: 15 steps: - uses: actions/checkout@v4 @@ -34,7 +34,7 @@ jobs: - run: make - run: make test integration: - runs-on: ubuntu-20.04 + runs-on: codebuild-soci-github-ci-pipeline-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge timeout-minutes: 40 strategy: fail-fast: false @@ -47,4 +47,5 @@ jobs: - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} + - run: goenv global 1.22.1 - run: make integration diff --git a/integration/pull_test.go b/integration/pull_test.go index 0bfe1d372..d9929c470 100644 --- a/integration/pull_test.go +++ b/integration/pull_test.go @@ -236,7 +236,7 @@ func TestLazyPullWithSparseIndex(t *testing.T) { } func checkFuseMounts(t *testing.T, sh *shell.Shell, remoteSnapshotsExpectedCount int) { - mounts := string(sh.O("mount")) + mounts := string(sh.O("cat", "/proc/mounts")) remoteSnapshotsActualCount := strings.Count(mounts, "fuse.rawBridge") if remoteSnapshotsExpectedCount != remoteSnapshotsActualCount { t.Fatalf("incorrect number of remote snapshots; expected=%d, actual=%d",