JNSimba opened a new pull request, #62499:
URL: https://github.com/apache/doris/pull/62499

   ### What problem does this PR solve?
   
   PR #62023 refactored the filesystem SPI, which changed the error propagation 
path in `S3SourceOffsetProvider.fetchRemoteMeta()`. 
   
   Previously (#61284), the debug point created a `GlobListResult` with an 
error status, and the subsequent status check threw an exception with message 
`"Failed to list S3 files: ..."`. After the refactoring in #62023, the debug 
point was changed to directly throw an `IOException`, which is caught by 
`StreamingInsertJob.fetchMeta()` and wrapped as `"Failed to fetch meta, ..."`. 
However, the regression test assertion was not updated accordingly, causing the 
test to fail intermittently.
   
   ### How does this PR fix it?
   
   Update the assertion in `test_streaming_insert_job_fetch_meta_error` from 
checking `"Failed to list S3 files"` to `"Failed to fetch meta"`, matching the 
actual error message produced by the current code path.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test <!-- At least one of them must be included. -->
       - [ ] Regression test
       - [ ] Unit Test
       - [ ] Manual test (add detailed scripts or steps below)
       - [x] No need to test or manual test. Explain why:
           - [x] This is a test fix — corrects the assertion string to match 
the actual error message.
   
   ### Check List (For Reviewer who is not the Author)
   
   - [ ] Confirm that the problem is correctly described and the solution makes 
sense
   - [ ] Confirm that no Copyright information is lost
   - [ ] Confirm that no sensitive data is included (such as S3 keys)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to