-
Notifications
You must be signed in to change notification settings - Fork 38
test: More E2E tests for workload orchestration #248
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
Conversation
22aa1fa to
5a701b7
Compare
ab43705 to
75e1c23
Compare
dde9fe2 to
d315345
Compare
d315345 to
8e05aaa
Compare
|
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) { |
There was a problem hiding this comment.
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) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as this comment
zhiying-lin
left a comment
There was a problem hiding this 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?
- one new test case per PR.
- 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
|
Moving this to draft as I'm splitting this PR |
|
no longer needed |
Description of your changes
Fixes #
I have:
make reviewableto ensure this PR is ready for review.How has this code been tested
Special notes for your reviewer