From 5eb9343358dbcdc765535aed146e5b926f146c32 Mon Sep 17 00:00:00 2001 From: Luke Kysow <1034429+lkysow@users.noreply.github.com> Date: Thu, 2 Jan 2020 10:08:37 -0600 Subject: [PATCH] Remove test that didn't make sense 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. --- test/unit/server-statefulset.bats | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/test/unit/server-statefulset.bats b/test/unit/server-statefulset.bats index d5865e1a80..79a686dd34 100755 --- a/test/unit/server-statefulset.bats +++ b/test/unit/server-statefulset.bats @@ -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 \