From 5b699622b560e550cb7b93199bbd3294c192d591 Mon Sep 17 00:00:00 2001 From: Mischa Thompson Date: Mon, 6 Nov 2023 21:23:01 -0800 Subject: [PATCH] Remove old test --- component/remote/http/http_test.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/component/remote/http/http_test.go b/component/remote/http/http_test.go index 5ff62665ff48..f8ef2214394f 100644 --- a/component/remote/http/http_test.go +++ b/component/remote/http/http_test.go @@ -117,17 +117,6 @@ func TestUnmarshalValidation(t *testing.T) { `, `poll_frequency must be greater than 0`, }, - { - "MaxCacheAge and PollFrequency", - ` - url = "http://example.com" - poll_frequency = "1m" - fallback_cache { - enabled = true - max_age = "10s" - }`, - `fallback_cache.max_age must be 0 (unlimited) or greater than or equal to poll_frequency`, - }, } for _, tt := range tests { t.Run(tt.testname, func(t *testing.T) {