Uh oh!
There was an error while loading. Please reload this page.
storage: speed up IT - #3023
Conversation
We create fewer blobs since the basic case is already tested by other ITs. Fixes#3019, hopefully.
| 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.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| 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.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
* refactor: remove code related to prepareReadWriteTransactions. * chore: remove beginTransactionAsync method.
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
We create fewer blobs since the basic case is already
tested by other ITs.
Fixes#3019, hopefully.