You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 24, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1alpha2/StreamWriterTest.java
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -432,8 +432,13 @@ public void testFlowControlBehaviorException() throws Exception {
432
432
appendFuture2.get();
433
433
Assert.fail("This should fail");
434
434
} catch (Exceptione) {
435
-
LOG.info("ControlFlow test exception: " + e.toString());
436
-
assertEquals("The maximum number of batch elements: 1 have been reached.", e.getMessage());
435
+
if (!e.getMessage().equals("The maximum number of batch elements: 1 have been reached.")) {
436
+
LOG.info("More error info:");
437
+
e.printStackTrace();
438
+
}
439
+
assertEquals(
440
+
"java.util.concurrent.ExecutionException: The maximum number of batch elements: 1 have been reached.",
0 commit comments