2020
2121import com .google .cloud .storage .Storage .BlobField ;
2222import com .google .cloud .storage .Storage .BlobGetOption ;
23+ import com .google .cloud .storage .TransportCompatibility .Transport ;
2324import com .google .cloud .storage .it .runner .StorageITRunner ;
2425import com .google .cloud .storage .it .runner .annotations .Backend ;
2526import com .google .cloud .storage .it .runner .annotations .BucketFixture ;
2627import com .google .cloud .storage .it .runner .annotations .BucketType ;
28+ import com .google .cloud .storage .it .runner .annotations .CrossRun ;
2729import com .google .cloud .storage .it .runner .annotations .Inject ;
28- import com .google .cloud .storage .it .runner .annotations .SingleBackend ;
29- import com .google .cloud .storage .it .runner .annotations .StorageFixture ;
3030import com .google .cloud .storage .it .runner .registry .Generator ;
3131import com .google .common .io .ByteStreams ;
3232import java .io .IOException ;
4343import org .junit .runner .RunWith ;
4444
4545@ RunWith (StorageITRunner .class )
46- @ SingleBackend (Backend .PROD )
46+ @ CrossRun (
47+ backends = {Backend .PROD , Backend .TEST_BENCH },
48+ transports = Transport .GRPC )
4749public final class ITAppendableUploadTest {
4850
4951 @ Inject public Generator generator ;
5052
51- @ Inject
52- @ StorageFixture (TransportCompatibility .Transport .GRPC )
53- public Storage storage ;
53+ @ Inject public Storage storage ;
5454
5555 @ Inject
5656 @ BucketFixture (BucketType .RAPID )
@@ -95,6 +95,8 @@ public void appendableBlobUploadWithoutFinalizing() throws IOException {
9595 }
9696
9797 @ Test
98+ // Pending work in testbench, manually verified internally on 2025-03-25
99+ @ CrossRun .Ignore (backends = {Backend .TEST_BENCH })
98100 public void appendableBlobUploadTakeover () throws Exception {
99101 BlobAppendableUploadConfig uploadConfig =
100102 BlobAppendableUploadConfig .of ().withFlushPolicy (FlushPolicy .maxFlushSize (5 ));
@@ -139,6 +141,8 @@ public void testUploadFileUsingAppendable() throws Exception {
139141 }
140142
141143 @ Test
144+ // Pending work in testbench, manually verified internally on 2025-03-25
145+ @ CrossRun .Ignore (backends = {Backend .TEST_BENCH })
142146 public void finalizeAfterCloseWorks () throws Exception {
143147 BlobAppendableUploadConfig uploadConfig =
144148 BlobAppendableUploadConfig .of ().withFlushPolicy (FlushPolicy .maxFlushSize (1024 ));
@@ -154,6 +158,8 @@ public void finalizeAfterCloseWorks() throws Exception {
154158 }
155159
156160 @ Test
161+ // Pending work in testbench, manually verified internally on 2025-03-25
162+ @ CrossRun .Ignore (backends = {Backend .TEST_BENCH })
157163 public void takeoverJustToFinalizeWorks () throws Exception {
158164 BlobAppendableUploadConfig uploadConfig =
159165 BlobAppendableUploadConfig .of ().withFlushPolicy (FlushPolicy .maxFlushSize (5 ));
0 commit comments