Skip to content

Commit

Permalink
Preventing eventual consistency from breaking the test
Browse files Browse the repository at this point in the history
  • Loading branch information
yuval-cloudinary committed Oct 10, 2024
1 parent ce16640 commit 46a8baf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/operations/check_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,7 @@ func TestParseSumFile(t *testing.T) {
}

_ = r.WriteObject(ctx, sumFile, data.String(), t1)
file, err := r.Fremote.NewObject(ctx, sumFile)
assert.NoError(t, err)
file := fstest.NewObject(ctx, t, r.Fremote, sumFile)
sums, err := operations.ParseSumFile(ctx, file)
assert.NoError(t, err)

Expand Down

0 comments on commit 46a8baf

Please sign in to comment.