Commit 644e86d
Storage NIO: Stop leaving leftover buckets in IT (#3898)
* Stop leaving leftover buckets in ITGcsNIO
This integration test now deletes all the buckets it creates.
The issue was that requester-pays buckets couldn't be deleted by the
existing code. This PR updates RemoteStorageHelper so it can be given a
userProject for requester-pays buckets.
* Don't set userProject if empty, add test
RemoteStorageHelper now doesn't set the userProject option if it's
empty. Also, added testForceDeleteRetriesWithUserProject unit test.1 parent f030701 commit 644e86d
1 file changed
Lines changed: 7 additions & 3 deletions
File tree
- java-storage-nio/google-cloud-nio/src/test/java/com/google/cloud/storage/contrib/nio/it
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | | - | |
132 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
133 | 137 | | |
134 | 138 | | |
135 | 139 | | |
| |||
0 commit comments