diff --git a/tlstest/zero_https/all_routes_tls/all_routes_tls_test.go b/tlstest/zero_https/all_routes_tls/all_routes_tls_test.go index e2839502d4e..32a8f9e1574 100644 --- a/tlstest/zero_https/all_routes_tls/all_routes_tls_test.go +++ b/tlstest/zero_https/all_routes_tls/all_routes_tls_test.go @@ -68,7 +68,7 @@ var testCasesHttps = []testCase{ }, { url: "https://localhost:6180/state", - response: "\"id\":\"1\",\"groupId\":0,\"addr\":\"localhost:5080\",\"leader\":true,\"amDead\":false", + response: "\"id\":\"1\",\"groupId\":0,\"addr\":\"zero1:5180\",\"leader\":true,\"amDead\":false", statusCode: 200, }, } diff --git a/tlstest/zero_https/custom_routes_tls/custom_routes_tls_test.go b/tlstest/zero_https/custom_routes_tls/custom_routes_tls_test.go index f459bb4a9e6..843ac104e78 100644 --- a/tlstest/zero_https/custom_routes_tls/custom_routes_tls_test.go +++ b/tlstest/zero_https/custom_routes_tls/custom_routes_tls_test.go @@ -63,7 +63,7 @@ var testCasesHttps = []testCase{ }, { url: "https://localhost:6180/state", - response: "\"id\":\"1\",\"groupId\":0,\"addr\":\"localhost:5080\",\"leader\":true,\"amDead\":false", + response: "\"id\":\"1\",\"groupId\":0,\"addr\":\"zero1:5180\",\"leader\":true,\"amDead\":false", statusCode: 200, }, } diff --git a/tlstest/zero_https/no_tls/no_tls_test.go b/tlstest/zero_https/no_tls/no_tls_test.go index 43f8678f3f0..e96698967aa 100644 --- a/tlstest/zero_https/no_tls/no_tls_test.go +++ b/tlstest/zero_https/no_tls/no_tls_test.go @@ -22,7 +22,7 @@ var testCasesHttp = []testCase{ }, { url: "http://localhost:6180/state", - response: "\"id\":\"1\",\"groupId\":0,\"addr\":\"localhost:5080\",\"leader\":true,\"amDead\":false", + response: "\"id\":\"1\",\"groupId\":0,\"addr\":\"zero1:5180\",\"leader\":true,\"amDead\":false", statusCode: 200, }, }