Introduce failOnError
flag in TestContextAotGenerator
#30898
Labels
in: test
Issues in the test module
theme: aot
An issue related to Ahead-of-time processing
type: task
A general task
Milestone
Overview
When an error is encountered during AOT processing in
TestContextAotGenerator
, aDEBUG
orWARN
message is logged, and processing will continue.This behavior is acceptable at build-time; however, such errors will be silently ignored within our own integration tests since we do not have a mechanism for checking the log output.
We should therefore introduce a mechanism to "fail on error" during test AOT processing.
NOTE: This feature is currently targeted for internal use only.
Related Issues
ApplicationContext
in AOT mode if AOT processing failed #29579Deliverables
failOnError
flag inTestContextAotGenerator
.true
, any error encountered during AOT processing should result in an exception that fails the overall process. When set tofalse
(the default), the previous behavior remains unchanged: aDEBUG
orWARN
message will be logged, and processing will continue.The text was updated successfully, but these errors were encountered: