diff --git a/helm/charts/nats/test/config_test.go b/helm/charts/nats/test/config_test.go index aa9512dd..cac92419 100644 --- a/helm/charts/nats/test/config_test.go +++ b/helm/charts/nats/test/config_test.go @@ -306,7 +306,7 @@ config: websocket: enabled: true merge: - compression: false + compression: true patch: [{op: add, path: /same_origin, value: true}] mqtt: enabled: true @@ -358,7 +358,7 @@ config: } expected.Conf.Value["websocket"] = map[string]any{ "port": int64(8080), - "compression": false, + "compression": true, "no_tls": true, "same_origin": true, } diff --git a/helm/charts/nats/test/ports_test.go b/helm/charts/nats/test/ports_test.go index 6e7753fd..0d865919 100644 --- a/helm/charts/nats/test/ports_test.go +++ b/helm/charts/nats/test/ports_test.go @@ -99,9 +99,8 @@ service: "no_advertise": true, } expected.Conf.Value["websocket"] = map[string]any{ - "port": int64(1003), - "compression": true, - "no_tls": true, + "port": int64(1003), + "no_tls": true, } expected.Conf.Value["mqtt"] = map[string]any{ "port": int64(1004), diff --git a/helm/charts/nats/test/resources_test.go b/helm/charts/nats/test/resources_test.go index 773a2e3c..f178680d 100644 --- a/helm/charts/nats/test/resources_test.go +++ b/helm/charts/nats/test/resources_test.go @@ -109,9 +109,8 @@ natsBox: } expected.Conf.Value["websocket"] = map[string]any{ - "port": int64(8080), - "no_tls": true, - "compression": true, + "port": int64(8080), + "no_tls": true, } env := []corev1.EnvVar{ @@ -513,9 +512,8 @@ natsBox: expected := DefaultResources(t, test) expected.Conf.Value["websocket"] = map[string]any{ - "port": int64(8080), - "no_tls": true, - "compression": true, + "port": int64(8080), + "no_tls": true, } annotations := func() map[string]string { diff --git a/helm/charts/nats/test/tls_test.go b/helm/charts/nats/test/tls_test.go index f1a5b692..d7393b5b 100644 --- a/helm/charts/nats/test/tls_test.go +++ b/helm/charts/nats/test/tls_test.go @@ -65,8 +65,7 @@ config: "no_advertise": true, } expected.Conf.Value["websocket"] = map[string]any{ - "port": int64(8080), - "compression": true, + "port": int64(8080), } expected.Conf.Value["mqtt"] = map[string]any{ "port": int64(1883),