Skip to content

Commit

Permalink
Skip cleanup ctrl namespace test if -enable-enterprise is not set (ha…
Browse files Browse the repository at this point in the history
  • Loading branch information
ishustava authored Feb 24, 2021
1 parent ae54c22 commit 8453f52
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,11 @@ func TestConnectInjectNamespaces(t *testing.T) {
// because in the case of namespaces there isn't a significant distinction in code between auto-encrypt
// and non-auto-encrypt secure installations, so testing just one is enough.
func TestConnectInjectNamespaces_CleanupController(t *testing.T) {
cfg := suite.Config()
if !cfg.EnableEnterprise {
t.Skipf("skipping this test because -enable-enterprise is not set")
}

consulDestNS := "consul-dest"
cases := []struct {
name string
Expand Down

0 comments on commit 8453f52

Please sign in to comment.