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,