@@ -525,7 +525,7 @@ public void testSQLNoResults() {
525525 @ ExtendWith (RequiresML11 .class )
526526 public void testErrorWhileStreamingRows () {
527527 final String validQueryThatEventuallyThrowsAnError = "select case " +
528- "when lastName = 'Davis ' then fn_error(fn_qname('', 'SQL-TABLENOTFOUND'), 'Internal Server Error') end, " +
528+ "when lastName = 'Byron ' then fn_error(fn_qname('', 'SQL-TABLENOTFOUND'), 'Internal Server Error') end, " +
529529 "opticUnitTest.musician.* from (select * from opticUnitTest.musician order by lastName)" ;
530530
531531 RowManager rowManager = Common .client .newRowManager ();
@@ -534,7 +534,7 @@ public void testErrorWhileStreamingRows() {
534534 FailedRequestException ex = assertThrows (FailedRequestException .class , () -> rowManager .resultRows (plan ),
535535 "The SQL query is designed to not immediately fail - it will immediately return a 200 status code to the " +
536536 "Java Client because the query itself can be executed - but will fail later as it streams rows; " +
537- "specifically, it will fail on the fourth row, which is the 'Davis ' row. " +
537+ "specifically, it will fail on the second row, which is the 'Byron ' row. " +
538538 "If chunking is configured correctly for the /v1/rows requests - i.e. if the " +
539539 "'TE' header is present - then ML should return trailers in the HTTP response named 'ml-error-code' and " +
540540 "'ml-error-message'. Those are intended to indicate that while a 200 was returned, an error occurred later " +
0 commit comments