Skip to content

Commit ab1ce8f

Browse files
committed
Add test exclusion property handling to jakarta module
1 parent dcfab8e commit ab1ce8f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

hibernate-core-jakarta/hibernate-core-jakarta.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,12 @@ test {
279279
}
280280

281281
maxHeapSize = '3G'
282+
// Allow to exclude specific tests
283+
if (project.hasProperty('excludeTests')) {
284+
filter {
285+
excludeTestsMatching project.property('excludeTests').toString()
286+
}
287+
}
282288
}
283289

284290

0 commit comments

Comments
 (0)