mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-30 15:22:07 +00:00
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
This commit is contained in:
parent
42dd71bb63
commit
cb34d4440c
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ func TestParseBad(t *testing.T) {
|
|||
},
|
||||
{
|
||||
[]string{"http://unreachable-url"},
|
||||
"failed to read",
|
||||
"failed to",
|
||||
},
|
||||
}
|
||||
for _, tc := range testCases {
|
||||
|
|
Loading…
Reference in a new issue