Skip to content

Commit

Permalink
Use temp dir for ruler LoadPartialGroups test (#6193)
Browse files Browse the repository at this point in the history
  • Loading branch information
harry671003 authored Sep 4, 2024
1 parent db1894c commit d8a7636
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/ruler/ruler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d8a7636

Please sign in to comment.