Skip to content

Conversation

@Arvindthiru
Copy link
Contributor

@Arvindthiru Arvindthiru commented Aug 25, 2022

Description of your changes

Fixes #

I have:

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

How has this code been tested

Special notes for your reviewer

@Arvindthiru Arvindthiru force-pushed the ImpWorkloade2e branch 2 times, most recently from 22aa1fa to 5a701b7 Compare August 30, 2022 22:35
@Arvindthiru Arvindthiru force-pushed the ImpWorkloade2e branch 7 times, most recently from ab43705 to 75e1c23 Compare September 8, 2022 18:46
@Arvindthiru Arvindthiru changed the title test: Improve work load orchestration e2e test: More E2E tests for workload orchestration Sep 8, 2022
@Arvindthiru Arvindthiru marked this pull request as ready for review September 8, 2022 21:52
@Arvindthiru
Copy link
Contributor Author

Work API E2E test failures should be fixed after this PR gets merged #246

}

// WaitUpdateClusterRoleLabels waits for cluster role to be updated to new labels.
func WaitUpdateClusterRoleLabels(ctx context.Context, cluster framework.Cluster, clusterRole, newClusterRole *rbacv1.ClusterRole) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was planning on checking the whole object but it has a lot of fields which needs to be ignored to work

}

// WaitUpdateRoleRules waits for role to be updated to new rules.
func WaitUpdateRoleRules(ctx context.Context, cluster framework.Cluster, role, newRole *rbacv1.Role) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as this comment

Copy link
Contributor

@zhiying-lin zhiying-lin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Arvind, i believe there are some conflicts with #246 which is ready to merge.

Could you please rebase the code once the PR is merge?

In addition, could you please split the PR into smaller ones?

  1. one new test case per PR.
  2. split the refactor part into another PR, I notice that you're updating the util funcs to do the refactor. it helps to reduce distractions to review your new test case.

Thanks

@Arvindthiru
Copy link
Contributor Author

Moving this to draft as I'm splitting this PR

@Arvindthiru Arvindthiru marked this pull request as draft September 15, 2022 00:38
@ryanzhang-oss
Copy link
Contributor

no longer needed

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.

3 participants