Commit 72f9901
committed
test: refactor existing appendable upload tests to work with new implementation
* Add incremental checksums to all messages
* Add final object_checksums for all finalization
* Remove tests that were testing the same thing -- especially when the setup was fairly involved
* Remove some Integration tests that are now covered by unit tests of the bidi stream / bidi upload state (redirect limits, etc)
* Refactor lots of common messages and test run flows to reduce duplication and make debugging easier
* Ignore some tests that previously would partially split data rather than messages -- the current implementation only evicts when a whole message is consumed
* In general, signal `onComplete()` after `onNext` in response to a finalize message
* Update ITAppendableUploadTest to run for multiple permutations of BlobAppendableUploadConfigs1 parent 1e3b2ad commit 72f9901
4 files changed
Lines changed: 626 additions & 1102 deletions
File tree
- google-cloud-storage/src
- main/java/com/google/cloud/storage
- test/java/com/google/cloud/storage
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
176 | 191 | | |
177 | 192 | | |
178 | 193 | | |
| |||
0 commit comments