- Notifications
You must be signed in to change notification settings - Fork38.6k
Closed
Labels
Milestone
Description
Currently, if a test class is annotated with@DisabledInAotMode
, registeredAotTestExecutionListener
implementations will still be invoked, which can lead to AOT processing failures if theAotTestExecutionListener
throws an exception -- for example, because it attempts to do something that is not supported during AOT processing.
We should thereforedisableAotTestExecutionListener
processing for any test class annotated with@DisabledInAotMode
.