Skip to content

Commit

Permalink
Fix flake in singleflight test by increasing the run time slightly
Browse files Browse the repository at this point in the history
Fixes #1759
  • Loading branch information
josephschorr committed Feb 26, 2024
1 parent acd4a68 commit 8e9649d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ func TestSingleFlight(t *testing.T) {
dsMock.On("SnapshotReader", one).Return(oneReader)
oneReader.
On(tester.readSingleFunctionName, nsA).
WaitUntil(time.After(10*time.Millisecond)).
WaitUntil(time.After(50*time.Millisecond)).
Return(nil, old, nil).
Once()

Expand Down

0 comments on commit 8e9649d

Please sign in to comment.