Skip to content

Commit

Permalink
test: fix timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
zelig committed Jan 24, 2024
1 parent 6d4f2cb commit 3dc5df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/file/joiner/joiner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1247,7 +1247,7 @@ func TestJoinerRedundancyMultilevel(t *testing.T) {
strategyTimeout *= 2
}
ctx = getter.SetConfigInContext(ctx, s, fallback, (2 * strategyTimeout).String(), strategyTimeout.String())
ctx, cancel := context.WithTimeout(ctx, time.Duration(levels*3+1)*strategyTimeout)
ctx, cancel := context.WithTimeout(ctx, time.Duration(levels*3+2)*strategyTimeout)
defer cancel()
j, _, err := joiner.New(ctx, store, store, addr)
if err != nil {
Expand Down

0 comments on commit 3dc5df9

Please sign in to comment.