Skip to content

Conversation

@pongad
Copy link
Contributor

@pongad pongad commented Mar 12, 2018

We create fewer blobs since the basic case is already
tested by other ITs.

Fixes #3019, hopefully.

We create fewer blobs since the basic case is already
tested by other ITs.

Fixes #3019, hopefully.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 12, 2018
while (Iterators.size(page.iterateAll().iterator()) != 2) {

String projectId = remoteStorageHelper.getOptions().getProjectId();
for (; ; ) {

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

Storage.BlobListOption.fields(),
Storage.BlobListOption.userProject(projectId));
int size = Iterators.size(page.iterateAll().iterator());
if (size == 1) {

This comment was marked as spam.

This comment was marked as spam.

@pongad
Copy link
Contributor Author

pongad commented Mar 14, 2018

@garrettjonesgoogle PTAL. I also slightly increased the time limit. Hopefully it flakes less.

// Otherwise, expect one blob, since we only put in one above.
if (!blobs.isEmpty()) {
assertThat(blobs).hasSize(1);
return;

This comment was marked as spam.

This comment was marked as spam.

Copy link
Member

@garrettjonesgoogle garrettjonesgoogle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pongad pongad merged commit b0918bc into googleapis:master Mar 14, 2018
@pongad pongad deleted the storage-it branch March 14, 2018 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants