AotTestExecutionListener
should not be invoked for a @DisabledInAotMode
test class
#33589
Labels
in: test
Issues in the test module
theme: aot
An issue related to Ahead-of-time processing
type: bug
A general bug
Milestone
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 therefore disable
AotTestExecutionListener
processing for any test class annotated with@DisabledInAotMode
.The text was updated successfully, but these errors were encountered: