From 72b788c69b254f617215863235130549290293b7 Mon Sep 17 00:00:00 2001 From: Gerard Snaauw <33763579+gerardsn@users.noreply.github.com> Date: Tue, 31 Oct 2023 09:18:25 +0100 Subject: [PATCH] fix broken test (#2577) --- network/network_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") }) })