-
Notifications
You must be signed in to change notification settings - Fork 7
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
CLOUDP-261305: Add prod e2e tests #94
Conversation
@@ -14,8 +14,8 @@ import ( | |||
) | |||
|
|||
var versions = []string{ | |||
"2023-01-01", | |||
"2023-02-01", | |||
// "2023-01-01", |
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.
[need a follow-up PR]
The 2023-01-01 clusters endpoints dont show as deprecated in the current specs, and our logic is marking them as deprecated rightfully. Need to check w/ the team if we want to fix this os ir if was a desired behaviour.
All other items are matching.
@@ -113,7 +122,8 @@ func ValidateVersionedSpec(t *testing.T, correctSpecPath, generatedSpecPath stri | |||
t.Helper() | |||
correctSpec := newOpenAPISpec(t, correctSpecPath) | |||
generatedSpec := newOpenAPISpec(t, generatedSpecPath) | |||
d, err := diff.Get(diff.NewConfig(), correctSpec, generatedSpec) | |||
examples := []string{"examples"} | |||
d, err := diff.Get(diff.NewConfig().WithExcludeElements(examples), correctSpec, generatedSpec) |
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.
removing examples because our generated spec is matching with the expected examples after we split, but the old ones are not, so I'll ignore for now.
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.
could you add a comment with the explanation so that we don't forget about it?
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.
yes will add in the follow-up PR!
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.
LGTM
Proposed changes
Jira ticket: CLOUDP-261305
Checklist
Further comments