-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Add v1.28.0 API testdata #119957
Add v1.28.0 API testdata #119957
Conversation
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/sig testing |
@@ -189,7 +189,7 @@ func TestEtcdStoragePath(t *testing.T) { | |||
previousNonAlphaVersions.Insert(version) | |||
} | |||
} | |||
if len(previousNonAlphaVersions) > 0 && !previousNonAlphaVersions.Has(expectedGVK.Version) { | |||
if len(previousNonAlphaVersions) > 0 && !strings.Contains(expectedGVK.Version, "alpha") && !previousNonAlphaVersions.Has(expectedGVK.Version) { |
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.
Fixes:
TestEtcdStoragePath/admissionregistration.k8s.io/v1beta1,_Resource=validatingadmissionpolicies
etcd_storage_path_test.go:193: Previous releases understand non-alpha versions ["v1beta1"], but do not understand the expected current storage version "v1alpha1". This means a current server will store data in etcd that is not understood by a previous version.
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.
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.
opened #120018 to switch the storage version and improve the etcd test to catch this
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.
This was an oversight. Thanks for opening the PR to fix.
/retest |
/assign @liggitt |
verified the content of the v1.28.0 folder matches the content of the HEAD folder at the v1.28.0 tag /lgtm |
LGTM label has been added. Git tree hash: 8928c7e5e42a510979ae5977d66aca064e4d6d9e
|
/hold looking at the etcd test change |
a22913b
to
afe9045
Compare
/lgtm |
LGTM label has been added. Git tree hash: 258bb5710499205248dfdc22f8147e3fc3ce43e6
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liggitt, SataQiu 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 |
/hold cancel |
/test pull-kubernetes-integration |
/assign @liggitt |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Add v1.28.0 API testdata
https://github.com/kubernetes/kubernetes/tree/master/staging/src/k8s.io/api/testdata#populating-data-for-each-release
Which issue(s) this PR fixes:
xref #119958
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: