|
Of all slow tests, only those marked with JUnit 5 @org.junit.jupiter.api.Tag("Slow") are run: https://spruce.mongodb.com/task/mongo_java_driver_tests_slow__version~4.2_os~linux_topology~replicaset_auth~noauth_ssl~nossl_jdk~jdk8_slow_test_patch_1b02a9dcf0ab357c26f5e938808a11a6d5604407_60f8ed54a4cf472373ac0e58_21_07_22_04_00_21/tests?execution=0&page=0
No Spock tests marked with @util.spock.annotations.Slow are run by the Gradle :testSlowOnly task, but they are correctly excluded by the Gradle :test task. This is weird, given that the OnlySlow.groovy Spock config is clearly picked up, as we can see its "Only including Slow Spock tests" message in the logs. This may be related to this bug report which was closed as "works as designed" with a link to https://github.com/spockframework/spock/issues/1288#issuecomment-791901698, where eventually people suggest to have two different tasks for running Spock and JUnit tests.
|