mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
Merge pull request #38954 from slaskawi/statefulsets/add_service_level_tests
Automatic merge from submit-queue (batch tested with PRs 39169, 40719, 38954, 40808, 40689) Add StatefulSets checks at Service level Hi! Please let me propose some very small e2e testsuite enhancement. This PR removed a `TODO` about checking governing service at unit test level (which is hard) and adds this to e2e testsuite. Thanks Sebastian
This commit is contained in:
@@ -57,7 +57,6 @@ func TestPetIDDNS(t *testing.T) {
|
||||
if hostname, ok := pod.Annotations[apipod.PodHostnameAnnotation]; !ok || hostname != petName {
|
||||
t.Errorf("Wrong hostname: %v", hostname)
|
||||
}
|
||||
// TODO: Check this against the governing service.
|
||||
if subdomain, ok := pod.Annotations[apipod.PodSubdomainAnnotation]; !ok || subdomain != petSubdomain {
|
||||
t.Errorf("Wrong subdomain: %v", subdomain)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user