Fix running single tests
MODIFY
instrumentation/aws-sdk/aws-sdk-1.11/aws-sdk-1.11.gradle
instrumentation/aws-sdk/aws-sdk-1.11/aws-sdk-1.11.gradle
@@ -25,7 +25,11 @@ testSets {
// We test older version in separate test set to test newer version and latest deps in the 'default'
// test dir. Otherwise we get strange warnings in Idea.
test_before_1_11_106 {
- dirName = 'test_before_1_11_106'
+ filter {
+ // this is needed because "test.dependsOn test_before_1_11_106", and so without this,
+ // running a single test in the default test set will fail
+ setFailOnNoMatchingTests(false)
+ }
}
}

MODIFY
instrumentation/java-concurrent/java-concurrent.gradle
instrumentation/java-concurrent/java-concurrent.gradle
@@ -10,7 +10,13 @@ apply plugin: 'org.unbroken-dome.test-sets'
//}
testSets {
- slickTest
+ slickTest {
+ filter {
+ // this is needed because "test.dependsOn slickTest", and so without this,
+ // running a single test in the default test set will fail
+ setFailOnNoMatchingTests(false)
+ }
+ }
}
compileSlickTestGroovy {

MODIFY
instrumentation/jms-1.1/jms-1.1.gradle
instrumentation/jms-1.1/jms-1.1.gradle
@@ -16,6 +16,11 @@ muzzle {
testSets {
jms2Test {
+ filter {
+ // this is needed because "test.dependsOn jms2Test", and so without this,
+ // running a single test in the default test set will fail
+ setFailOnNoMatchingTests(false)
+ }
}
}

Fix running single tests (#1066)