Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Commit

Permalink
istio-mtls-native - Fix e2e test that checks service ports
Browse files Browse the repository at this point in the history
  • Loading branch information
cscetbon committed Dec 10, 2019
1 parent f0429d7 commit cac3ef1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/e2e/cassandracluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,9 @@ func cassandraClusterServiceTest(t *testing.T, f *framework.Framework, ctx *fram
assert.Equal(t, kind, clusterService.ObjectMeta.OwnerReferences[0].Kind)
assert.Equal(t, cluster.Name, clusterService.ObjectMeta.OwnerReferences[0].Name)
assert.True(t, *clusterService.ObjectMeta.OwnerReferences[0].Controller)
assert.Equal(t, 4, len(clusterService.Spec.Ports))
assert.Equal(t, 1, len(clusterService.Spec.Ports))

assertServiceExposesPort(t, &clusterService, "cql", 9042)
assertServiceExposesPort(t, &clusterService, "intra-node", 7000)
assertServiceExposesPort(t, &clusterService, "intra-node-tls", 7001)
assertServiceExposesPort(t, &clusterService, "jmx-port", 7199)

assert.Equal(t, 1, len(monitoringService.ObjectMeta.OwnerReferences))
assert.Equal(t, kind, monitoringService.ObjectMeta.OwnerReferences[0].Kind)
Expand Down

0 comments on commit cac3ef1

Please sign in to comment.