Skip to content

Commit 19a3630

Browse files
authored
test: update expected error code from conflicting preconditions to expect 412 for grpc transport (#2757)
1 parent ad37160 commit 19a3630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google-cloud-storage/src/test/java/com/google/cloud/storage/it/ITBlobReadChannelTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ public void optionsWork() {
318318
assertThat(e).hasCauseThat().isInstanceOf(StorageException.class);
319319
StorageException se = (StorageException) e.getCause();
320320
// b/261214971 for differing response code
321-
assertThat(se.getCode()).isAnyOf(/*json*/ 304, /*grpc*/ 409);
321+
assertThat(se.getCode()).isAnyOf(/*json*/ 304, /*grpc*/ 412);
322322
}
323323
}
324324

0 commit comments

Comments
 (0)