We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8273a3 commit 085af10Copy full SHA for 085af10
spring-test/src/test/java/org/springframework/test/context/aot/AotIntegrationTests.java
@@ -135,7 +135,7 @@ void endToEndTestsForEntireSpringTestModule() {
135
// We only include test classes named *Tests so that we don't pick up
136
// internal TestCase classes that aren't really tests.
137
.filter(clazz -> clazz.getSimpleName().endsWith("Tests"))
138
- // We don't yet have a way to abort a TestNG test mid-flight, and @EJB is not supported in AOT.
+ // TestNG EJB tests use @PersistenceContext which is not yet supported in tests in AOT mode.
139
.filter(clazz -> !clazz.getPackageName().contains("testng.transaction.ejb"))
140
.toList();
141
0 commit comments