Skip to content

Commit

Permalink
Remove test that didn't make sense
Browse files Browse the repository at this point in the history
This test was checking for config within the server statefulset when
servers were disabled. This didn't make sense because when servers are
disable the statefulset isn't rendered at all.
  • Loading branch information
lkysow committed Jan 2, 2020
1 parent 2dfe24d commit 5eb9343
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/unit/server-statefulset.bats
Original file line number Diff line number Diff line change
Expand Up @@ -380,18 +380,6 @@ load _helpers
[ "${actual}" = "" ]
}

@test "server/StatefulSet: gossip encryption disabled in server StatefulSet when servers are disabled" {
cd `chart_dir`
local actual=$(helm template \
-x templates/enterprise-license-job.yaml \
--set 'server.enabled=false' \
--set 'global.gossipEncryption.secretName=foo' \
--set 'global.gossipEncryption.secretKey=bar' \
. | tee /dev/stderr |
yq 'length > 0' | tee /dev/stderr)
[ "${actual}" = "false" ]
}

@test "server/StatefulSet: gossip encryption disabled in server StatefulSet when secretName is missing" {
cd `chart_dir`
local actual=$(helm template \
Expand Down

0 comments on commit 5eb9343

Please sign in to comment.