From 7b8a5145cd5251e7cd00bf3f4b23e0145f9ccee7 Mon Sep 17 00:00:00 2001 From: SuperQ Date: Mon, 25 Jul 2022 20:49:29 +0200 Subject: [PATCH] Update config test to match new prometheus common. Signed-off-by: SuperQ --- config/config_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config/config_test.go b/config/config_test.go index 921eabd4..7e7a1fee 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -855,6 +855,7 @@ func TestEmptyFieldsAndRegex(t *testing.T) { Global: &GlobalConfig{ HTTPConfig: &commoncfg.HTTPClientConfig{ FollowRedirects: true, + EnableHTTP2: true, }, ResolveTimeout: model.Duration(5 * time.Minute), SMTPSmarthost: HostPort{Host: "localhost", Port: "25"},