github-actions[bot] commented on code in PR #62499:
URL: https://github.com/apache/doris/pull/62499#discussion_r3090427194
##########
regression-test/suites/job_p0/streaming_job/test_streaming_insert_job_fetch_meta_error.groovy:
##########
@@ -80,7 +80,7 @@ suite("test_streaming_insert_job_fetch_meta_error",
"nonConcurrent") {
def jobStatus = sql """select Status, ErrorMsg from
jobs("type"="insert") where Name='${jobName}'"""
assert jobStatus.get(0).get(0) == "PAUSED"
- assert jobStatus.get(0).get(1).contains("Failed to list S3 files")
+ assert jobStatus.get(0).get(1).contains("Failed to fetch meta")
Review Comment:
This broadens the test too much. `StreamingInsertJob.fetchMeta()` prefixes
every exception with `Failed to fetch meta, ...`, and `jobs().ErrorMsg` exposes
the full `failureReason.getMsg()`, so the debug-point-specific cause is still
available here. With only this wrapper check, any unrelated `fetchRemoteMeta()`
failure will now pass, so the test stops protecting the regression that
`S3SourceOffsetProvider.fetchRemoteMeta.error` is meant to exercise.
`test_streaming_insert_job_alter_aksk.groovy` already covers the generic
wrapper case.
```suggestion
assert jobStatus.get(0).get(1).contains("Failed to fetch meta")
assert jobStatus.get(0).get(1).contains("debug point: simulated S3
auth error")
```
--
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]