diff --git a/network/network_test.go b/network/network_test.go index 9bc73af825..751822a7ee 100644 --- a/network/network_test.go +++ b/network/network_test.go @@ -1247,7 +1247,7 @@ func TestNetwork_checkHealth(t *testing.T) { result := n.CheckHealth() assert.Equal(t, core.HealthStatusDown, result[healthTLS].Status) - assert.Equal(t, "x509: certificate signed by unknown authority", result[healthTLS].Details) + assert.Contains(t, result[healthTLS].Details, "x509: certificate has expired or is not yet valid") }) })