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

feat: Turn on stricter golden log check in e2e fixture (part 2) #2061

Merged
merged 8 commits into from
Jun 24, 2024

Conversation

yuwenma
Copy link
Collaborator

@yuwenma yuwenma commented Jun 20, 2024

Turn on the stricter golden log check in fixture presubmit. This is the second part and needs #1934 to merge first.

tests/e2e/normalize.go Outdated Show resolved Hide resolved
tests/e2e/normalize.go Outdated Show resolved Hide resolved
@@ -64,7 +64,7 @@ X-Xss-Protection: 0
"selfLink": "https://www.googleapis.com/compute/beta/projects/${projectId}/global/operations/${operationID}",
"startTime": "2024-04-01T12:34:56.123456Z",
"status": "RUNNING",
"targetId": "7780111738275460050",
"targetId": "1719006515851113983",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we need a rebase for this one? (Hopefully this fails tests also, so it's a good check, though it would be sort of interesting if it didn't!)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, was waiting for https://github.com/GoogleCloudPlatform/k8s-config-connector/pull/2109/files (now it's merged) when I last updated this PR.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Do we need a rebase for this one? (Hopefully this fails tests also, so it's a good check, though it would be sort of interesting if it didn't!)

BTW, yes it did fail the PRESUBMIT check https://github.com/GoogleCloudPlatform/k8s-config-connector/actions/runs/9626625776/job/26552788995

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The monitoring dashboard golden log reflects the outcome of the Direct Controller, rather than the TF-based controller.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This file is a replacement of the tests-e2e-direct.sh, which focuses on the more complicated step-by-step scenario tests.

@justinsb
Copy link
Collaborator

/approve
/lgtm

@google-oss-prow google-oss-prow bot added the lgtm label Jun 24, 2024
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: justinsb

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow bot merged commit bae0c85 into GoogleCloudPlatform:master Jun 24, 2024
13 checks passed
@yuwenma yuwenma added this to the 1.120 milestone Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants