Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Benedikt Bongartz <[email protected]>
  • Loading branch information
frzifus committed Jul 12, 2023
1 parent cc2c1dd commit 754db2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/service/query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func TestQueryServiceSpecifiedNodePortWithIngress(t *testing.T) {
assert.Equal(t, "admin-http", svc.Spec.Ports[2].Name)
assert.Equal(t, int32(32767), svc.Spec.Ports[0].NodePort) // make sure we get the same NodePort as set above
assert.Equal(t, intstr.FromInt(16686), svc.Spec.Ports[0].TargetPort)
assert.Equal(t, intstr.FromInt(16687), svc.Spec.Ports[1].TargetPort)
assert.Equal(t, intstr.FromInt(16685), svc.Spec.Ports[1].TargetPort)
assert.Equal(t, intstr.FromInt(16687), svc.Spec.Ports[2].TargetPort)
assert.Equal(t, svc.Spec.Type, corev1.ServiceTypeNodePort)
}
Expand Down

0 comments on commit 754db2b

Please sign in to comment.