From d8a76362c40148721ff04aeeec7c594c427691e1 Mon Sep 17 00:00:00 2001 From: Harry John Date: Wed, 4 Sep 2024 14:29:46 -0700 Subject: [PATCH] Use temp dir for ruler LoadPartialGroups test (#6193) --- 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,