yujun777 opened a new pull request, #65696: URL: https://github.com/apache/doris/pull/65696
### What problem does this PR solve? The previous regression coverage for internal query audit failures depended on querying `__internal_schema.audit_log` after a fault-injection failure. That path is timing-sensitive because audit persistence is asynchronous, so the regression can fail even when `StmtExecutor.executeInternalQuery()` already reports the error audit event correctly. This PR replaces that flaky coverage with a deterministic FE unit test. The new test forces a planning failure in `executeInternalQuery()` and verifies that the submitted `AuditEvent` is marked as `ERR` and carries the failure details. The unstable fault-injection regression case is removed. ### Release note None -- 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]
