Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix the ci github action #901

Merged
merged 2 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/enveloped_object_placement_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
zhiying-lin marked this conversation as resolved.
Show resolved Hide resolved
})

AfterAll(func() {
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/rollout_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
9 changes: 5 additions & 4 deletions test/e2e/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
Loading