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

test: Refactor workload orchestration E2E part 1 #286

Merged
merged 20 commits into from
Oct 18, 2022

Conversation

Arvindthiru
Copy link
Contributor

@Arvindthiru Arvindthiru commented Sep 13, 2022

Description of your changes

Also Fixes #325

I have:

  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

E2E test for workload orchestration

Special notes for your reviewer

Rebased and split this PR #248, Refactor and one new test case

@Arvindthiru Arvindthiru force-pushed the WorkloadE2ERefactor1 branch 3 times, most recently from f3ad7c6 to 8d4f85b Compare September 14, 2022 19:17
@Arvindthiru Arvindthiru marked this pull request as ready for review September 14, 2022 19:21
@Arvindthiru
Copy link
Contributor Author

Arvindthiru commented Sep 14, 2022

I have refactored the helper methods and added another test, just noticed this comment wanted an individual PR for refactor my bad @zhiying-lin

test/e2e/e2e_test.go Outdated Show resolved Hide resolved
test/e2e/join_leave_member_test.go Outdated Show resolved Hide resolved
test/e2e/utils/helper.go Show resolved Hide resolved
test/e2e/utils/helper.go Outdated Show resolved Hide resolved
test/e2e/utils/helper.go Outdated Show resolved Hide resolved
test/e2e/work_load_test.go Outdated Show resolved Hide resolved
test/e2e/work_load_test.go Outdated Show resolved Hide resolved
test/e2e/work_load_test.go Outdated Show resolved Hide resolved
test/e2e/work_load_test.go Outdated Show resolved Hide resolved
test/e2e/utils/helper.go Outdated Show resolved Hide resolved
test/e2e/utils/helper.go Outdated Show resolved Hide resolved
test/e2e/work_load_test.go Outdated Show resolved Hide resolved
@Arvindthiru
Copy link
Contributor Author

Arvindthiru commented Sep 23, 2022

The join_leave_placement_test.go test is flaky even after removing the Ordered flag, it fails rarely but it fails

Alternative: would be place this test in it's own test suite

@Arvindthiru
Copy link
Contributor Author

Arvindthiru commented Sep 29, 2022

@zhiying-lin Addressed comment #303 (comment) by adding helper methods for checking MemberCluster and InternalMemberCluster Status

test/e2e/utils/workload_test_utils.go Outdated Show resolved Hide resolved
test/e2e/utils/workload_test_utils.go Outdated Show resolved Hide resolved
test/e2e/utils/workload_test_utils.go Outdated Show resolved Hide resolved
test/e2e/work_load_test.go Outdated Show resolved Hide resolved
test/e2e/work_load_test.go Outdated Show resolved Hide resolved
test/e2e/utils/workload_test_utils.go Outdated Show resolved Hide resolved
test/e2e/utils/workload_test_utils.go Outdated Show resolved Hide resolved
test/e2e/join_leave_placement_test.go Outdated Show resolved Hide resolved
test/e2e/utils/workload_test_utils.go Outdated Show resolved Hide resolved
test/e2e/utils/helper.go Outdated Show resolved Hide resolved
test/e2e/work_load_test.go Outdated Show resolved Hide resolved
test/e2e/work_load_test.go Outdated Show resolved Hide resolved
test/e2e/work_load_test.go Outdated Show resolved Hide resolved
test/e2e/work_load_test.go Outdated Show resolved Hide resolved
test/e2e/work_load_test.go Outdated Show resolved Hide resolved
zhiying-lin
zhiying-lin previously approved these changes Oct 18, 2022
test/e2e/work_api_e2e_test.go Outdated Show resolved Hide resolved
test/e2e/work_api_e2e_test.go Outdated Show resolved Hide resolved
@ryanzhang-oss ryanzhang-oss merged commit 25b57b1 into Azure:main Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make E2E test re-runnable
3 participants