diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5178a0a67..79c7fe832 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,6 +92,13 @@ jobs: ] if: needs.detect-noop.outputs.noop != 'true' steps: + - name: Remove unnecessary files + run: | + sudo rm -rf /usr/share/dotnet + sudo rm -rf /opt/ghc + sudo rm -rf "/usr/local/share/boost" + sudo rm -rf "$AGENT_TOOLSDIRECTORY" + - name: Set up Go uses: actions/setup-go@v5 with: diff --git a/test/e2e/enveloped_object_placement_test.go b/test/e2e/enveloped_object_placement_test.go index 0a89b1c11..a94bd49f4 100644 --- a/test/e2e/enveloped_object_placement_test.go +++ b/test/e2e/enveloped_object_placement_test.go @@ -319,7 +319,7 @@ var _ = Describe("placing wrapped resources using a CRP", func() { return fmt.Errorf("CRP status diff (-got, +want): %s", diff) } return nil - }, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to update CRP status as expected") + }, longEventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to update CRP status as expected") }) AfterAll(func() { diff --git a/test/e2e/rollout_test.go b/test/e2e/rollout_test.go index 40a57ff62..d853a3be9 100644 --- a/test/e2e/rollout_test.go +++ b/test/e2e/rollout_test.go @@ -85,7 +85,7 @@ var _ = Describe("placing wrapped resources using a CRP", Ordered, func() { It("should update CRP status as expected", func() { crpStatusUpdatedActual := crpStatusUpdatedActual(wantSelectedResources, allMemberClusterNames, nil, "0") - Eventually(crpStatusUpdatedActual, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to update CRP status as expected") + Eventually(crpStatusUpdatedActual, longEventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to update CRP status as expected") }) It("should place the resources on all member clusters", func() { diff --git a/test/e2e/setup_test.go b/test/e2e/setup_test.go index 433fcefa6..7cb2b82b0 100644 --- a/test/e2e/setup_test.go +++ b/test/e2e/setup_test.go @@ -68,10 +68,11 @@ const ( ) const ( - eventuallyDuration = time.Minute * 2 - eventuallyInterval = time.Millisecond * 250 - consistentlyDuration = time.Second * 15 - consistentlyInterval = time.Millisecond * 500 + eventuallyDuration = time.Minute * 2 + longEventuallyDuration = time.Minute * 5 + eventuallyInterval = time.Millisecond * 250 + consistentlyDuration = time.Second * 15 + consistentlyInterval = time.Millisecond * 500 ) var (