X Tutup
Skip to content

storage: speed up IT#3023

Merged
pongad merged 3 commits intogoogleapis:masterfrom
pongad:storage-it
Mar 14, 2018
Merged

storage: speed up IT#3023
pongad merged 3 commits intogoogleapis:masterfrom
pongad:storage-it

Conversation

@pongad
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

@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
suztomo pushed a commit that referenced this pull request Mar 9, 2026
lqiu96 pushed a commit that referenced this pull request Mar 20, 2026
chingor13 pushed a commit that referenced this pull request Mar 24, 2026
* refactor: remove code related to prepareReadWriteTransactions.

* chore: remove beginTransactionAsync method.
chingor13 pushed a commit that referenced this pull request Mar 30, 2026
Expose publicly the project field which was previously internal only. This field represents the project number of the project the bucket belongs to.

This field is still OUTPUT_ONLY, and as such does hot have a setter exposed for it.

Fixes #3023
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

X Tutup