From 0dbe19758a366f89e81c498e3eb574377644b96b Mon Sep 17 00:00:00 2001 From: ZetaoZhuang Date: Wed, 6 Nov 2024 13:24:09 -0800 Subject: [PATCH] use valid TLS version in config test --- cns/configuration/configuration_test.go | 2 +- cns/configuration/testdata/good.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cns/configuration/configuration_test.go b/cns/configuration/configuration_test.go index a291593eb8..7a27f327db 100644 --- a/cns/configuration/configuration_test.go +++ b/cns/configuration/configuration_test.go @@ -89,7 +89,7 @@ func TestReadConfigFromFile(t *testing.T) { UseHTTPS: true, UseMTLS: true, WireserverIP: "168.63.129.16", - MinTLSVersion: "TLS 1.1", + MinTLSVersion: "TLS 1.3", }, wantErr: false, }, diff --git a/cns/configuration/testdata/good.json b/cns/configuration/testdata/good.json index 0d80d46c75..c2471f3edb 100644 --- a/cns/configuration/testdata/good.json +++ b/cns/configuration/testdata/good.json @@ -35,5 +35,5 @@ "AZRSettings": { "PopulateHomeAzCacheRetryIntervalSecs": 60 }, - "MinTLSVersion": "TLS 1.1" + "MinTLSVersion": "TLS 1.3" }