Polishing

This commit is contained in:
Sam Brannen
2024-01-05 18:16:39 +01:00
parent a8273a3009
commit 085af10afd

View File

@@ -135,7 +135,7 @@ class AotIntegrationTests extends AbstractAotTests {
// We only include test classes named *Tests so that we don't pick up
// internal TestCase classes that aren't really tests.
.filter(clazz -> clazz.getSimpleName().endsWith("Tests"))
// 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.
.filter(clazz -> !clazz.getPackageName().contains("testng.transaction.ejb"))
.toList();