Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thegridman committed Nov 22, 2023
1 parent 2751ca7 commit 80887c8
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions api/v1/create_wka_services_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,27 +217,28 @@ func assertWKAService(t *testing.T, deployment *coh.Coherence, expected *corev1.
func getDefaultServicePorts() []corev1.ServicePort {
return []corev1.ServicePort{
{
Name: "tcp-" + coh.PortNameCoherence,
Protocol: corev1.ProtocolTCP,
Port: 7,
TargetPort: intstr.FromInt32(7),
Name: coh.PortNameCoherence,
Protocol: corev1.ProtocolTCP,
AppProtocol: pointer.String(coh.AppProtocolTcp),
Port: 7,
TargetPort: intstr.FromInt32(7),
},
{
Name: "tcp-" + coh.PortNameCoherenceLocal,
Name: coh.PortNameCoherenceLocal,
Protocol: corev1.ProtocolTCP,
AppProtocol: pointer.String(coh.AppProtocolTcp),
Port: coh.DefaultUnicastPort,
TargetPort: intstr.FromString(coh.PortNameCoherenceLocal),
},
{
Name: "tcp-" + coh.PortNameCoherenceCluster,
Name: coh.PortNameCoherenceCluster,
Protocol: corev1.ProtocolTCP,
AppProtocol: pointer.String(coh.AppProtocolTcp),
Port: coh.DefaultClusterPort,
TargetPort: intstr.FromString(coh.PortNameCoherenceCluster),
},
{
Name: "http-" + coh.PortNameHealth,
Name: coh.PortNameHealth,
Protocol: corev1.ProtocolTCP,
AppProtocol: pointer.String(coh.AppProtocolHttp),
Port: coh.DefaultHealthPort,
Expand Down

0 comments on commit 80887c8

Please sign in to comment.