From ce1c7e514b148417103b74447a366af4d0c1f4b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=8C=B2=20Harry=20=F0=9F=8C=8A=20John=20=F0=9F=8F=94?= Date: Wed, 4 Sep 2024 14:04:03 -0700 Subject: [PATCH] Use temp dir for ruler LoadPartialGroups test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 🌲 Harry 🌊 John 🏔 --- pkg/ruler/ruler_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/ruler/ruler_test.go b/pkg/ruler/ruler_test.go index af338443ca..49e40fc304 100644 --- a/pkg/ruler/ruler_test.go +++ b/pkg/ruler/ruler_test.go @@ -1930,6 +1930,7 @@ func Test_LoadPartialGroups(t *testing.T) { store := newMockRuleStore(allRules, map[string]error{user1: fmt.Errorf("test")}) u, _ := url.Parse("") cfg := Config{ + RulePath: t.TempDir(), EnableSharding: true, ExternalURL: flagext.URLValue{URL: u}, PollInterval: time.Millisecond * 100,