Skip to content

Commit 085af10

Browse files
committed
Polishing
1 parent a8273a3 commit 085af10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-test/src/test/java/org/springframework/test/context/aot/AotIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ void endToEndTestsForEntireSpringTestModule() {
135135
// We only include test classes named *Tests so that we don't pick up
136136
// internal TestCase classes that aren't really tests.
137137
.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.
138+
// TestNG EJB tests use @PersistenceContext which is not yet supported in tests in AOT mode.
139139
.filter(clazz -> !clazz.getPackageName().contains("testng.transaction.ejb"))
140140
.toList();
141141

0 commit comments

Comments
 (0)