Skip to content

Commit

Permalink
add TestService cases
Browse files Browse the repository at this point in the history
Signed-off-by: Will Tekulve <[email protected]>
  • Loading branch information
tekulvw committed Jan 7, 2025
1 parent 12ecb06 commit 32f94db
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions internal/infrastructure/kubernetes/proxy/resource_provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1175,6 +1175,21 @@ func TestService(t *testing.T) {
Name: ptr.To("custom-service-name"),
},
},
{
caseName: "dualstack",
infra: newTestInfraWithIPFamily(ptr.To(egv1a1.DualStack)),
service: nil,
},
{
caseName: "ipv4-singlestack",
infra: newTestInfraWithIPFamily(ptr.To(egv1a1.IPv4)),
service: nil,
},
{
caseName: "ipv6-singlestack",
infra: newTestInfraWithIPFamily(ptr.To(egv1a1.IPv6)),
service: nil,
},
}
for _, tc := range cases {
t.Run(tc.caseName, func(t *testing.T) {
Expand Down

0 comments on commit 32f94db

Please sign in to comment.