Skip to content

Commit

Permalink
test bug: remember to assign err
Browse files Browse the repository at this point in the history
Signed-off-by: James Munnelly <[email protected]>
  • Loading branch information
munnerz committed Mar 29, 2022
1 parent f3a7f8a commit e152da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/ready_to_request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func TestFailsIfNotReadyToRequest_ContinueOnNotReadyDisabled(t *testing.T) {
// being cleaned up of the persisted metadata file.
ctx, cancel2 := context.WithTimeout(context.Background(), time.Second)
defer cancel2()
if wait.PollUntil(time.Millisecond*100, func() (bool, error) {
if err := wait.PollUntil(time.Millisecond*100, func() (bool, error) {
_, err := store.ReadFiles("test-vol")
if err != storage.ErrNotFound {
return false, nil
Expand Down

0 comments on commit e152da4

Please sign in to comment.