// Test_ExternalNameServiceStopsDefaultingInternalTrafficPolicy tests that Services no longer default // the internalTrafficPolicy field when Type is ExternalName. This test exists due to historic reasons where // the internalTrafficPolicy field was being defaulted in older versions. New versions stop defaulting the // field and drop on read, but for compatibility reasons we still accept the field. func Test_ExternalNameServiceStopsDefaultingInternalTrafficPolicy(t *testing.T) { … } // Test_ExternalNameServiceDropsInternalTrafficPolicy tests that Services accepts the internalTrafficPolicy field on Create, // but drops the field on read. This test exists due to historic reasons where the internalTrafficPolicy field was being defaulted // in older versions. New versions stop defaulting the field and drop on read, but for compatibility reasons we still accept the field. func Test_ExternalNameServiceDropsInternalTrafficPolicy(t *testing.T) { … } // Test_ConvertingToExternalNameServiceDropsInternalTrafficPolicy tests that converting a Service to Type=ExternalName // results in the internalTrafficPolicy field being dropped.This test exists due to historic reasons where the internalTrafficPolicy // field was being defaulted in older versions. New versions stop defaulting the field and drop on read, but for compatibility reasons // we still accept the field. func Test_ConvertingToExternalNameServiceDropsInternalTrafficPolicy(t *testing.T) { … } // Test_RemovingExternalIPsFromClusterIPServiceDropsExternalTrafficPolicy tests that removing externalIPs from a // ClusterIP Service results in the externalTrafficPolicy field being dropped. func Test_RemovingExternalIPsFromClusterIPServiceDropsExternalTrafficPolicy(t *testing.T) { … } // Test transitions involving the `trafficDistribution` field in Service spec. func Test_TransitionsForTrafficDistribution(t *testing.T) { … } func Test_TrafficDistribution_FeatureGateEnableDisable(t *testing.T) { … } func Test_ServiceClusterIPSelector(t *testing.T) { … } // Repro https://github.com/kubernetes/kubernetes/issues/123853 func Test_ServiceWatchUntil(t *testing.T) { … }