From cb34d4440cbf22e8e96adb1859953796b15641ba Mon Sep 17 00:00:00 2001
From: Aliaksandr Valialkin <valyala@victoriametrics.com>
Date: Wed, 25 Oct 2023 21:30:38 +0200
Subject: [PATCH] app/vmalert/config: fix flacky test TestParseBad

It could return either `failed to read` or `failed to parse` errors depending
on whether the given url can be loaded or not under the current environment
---
 app/vmalert/config/config_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/vmalert/config/config_test.go b/app/vmalert/config/config_test.go
index 247258bb65..c9896be1c8 100644
--- a/app/vmalert/config/config_test.go
+++ b/app/vmalert/config/config_test.go
@@ -106,7 +106,7 @@ func TestParseBad(t *testing.T) {
 		},
 		{
 			[]string{"http://unreachable-url"},
-			"failed to read",
+			"failed to",
 		},
 	}
 	for _, tc := range testCases {