storage: remove retry for write integration test
This should no longer be necessary to retry now that we have
addressed gaps in retries for the write operation.
Fixes
@@ -3391,9 +3391,6 @@ func (h testHelper) mustNewReader(obj *ObjectHandle) *Reader {
}
func writeObject(ctx context.Context, obj *ObjectHandle, contentType string, contents []byte) error {
- // TODO: remove retry once retry logic in the client has been improved.
- // https://github.com/googleapis/google-cloud-go/issues/2395
- return retry(ctx, func() error {
w := obj.NewWriter(ctx)
w.ContentType = contentType
w.CacheControl = "public, max-age=60"
@@ -3404,7 +3401,6 @@ func writeObject(ctx context.Context, obj *ObjectHandle, contentType string, con
}
}
return w.Close()
- }, nil)
}
// loc returns a string describing the file and line of its caller's call site. In
