From fd8553dfd8cfeb618464faa4fff196d5c32b7579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1chym=20Tou=C5=A1ek?= Date: Fri, 6 Dec 2024 10:40:01 +0100 Subject: [PATCH] test: Fix stream e2e tests --- test/stream/api/api_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/stream/api/api_test.go b/test/stream/api/api_test.go index 0dae0f2223..3f4d6b69d8 100644 --- a/test/stream/api/api_test.go +++ b/test/stream/api/api_test.go @@ -4,6 +4,7 @@ package api import ( "context" "crypto/rand" + "encoding/base64" "fmt" "os" "path/filepath" @@ -78,7 +79,7 @@ func TestStreamApiE2E(t *testing.T) { "STREAM_ETCD_USERNAME": etcdCfg.Username, "STREAM_ETCD_PASSWORD": etcdCfg.Password, "STREAM_ENCRYPTION_PROVIDER": "native", - "STREAM_ENCRYPTION_NATIVE_SECRET_KEY": string(secretKey), + "STREAM_ENCRYPTION_NATIVE_SECRET_KEY": base64.StdEncoding.EncodeToString(secretKey), }) // Run the test