Skip to content

Commit e152da4

Browse files
committed
test bug: remember to assign err
Signed-off-by: James Munnelly <[email protected]>
1 parent f3a7f8a commit e152da4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/ready_to_request_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ func TestFailsIfNotReadyToRequest_ContinueOnNotReadyDisabled(t *testing.T) {
189189
// being cleaned up of the persisted metadata file.
190190
ctx, cancel2 := context.WithTimeout(context.Background(), time.Second)
191191
defer cancel2()
192-
if wait.PollUntil(time.Millisecond*100, func() (bool, error) {
192+
if err := wait.PollUntil(time.Millisecond*100, func() (bool, error) {
193193
_, err := store.ReadFiles("test-vol")
194194
if err != storage.ErrNotFound {
195195
return false, nil

0 commit comments

Comments
 (0)