Don't use non-fixed test name for akka executor (#933)

This commit is contained in:
Anuraag Agrawal 2020-08-10 03:00:10 +09:00 committed by GitHub
parent d85cce0f62
commit e991cae7f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
ext {
retryTests = true
}
apply from: "$rootDir/gradle/instrumentation.gradle"
apply from: "$rootDir/gradle/test-with-scala.gradle"

View File

@ -52,7 +52,7 @@ class AkkaExecutorInstrumentationTest extends AgentTestRunner {
@Shared
def akkaInvokeForkJoinTask = { e, c -> e.invoke((ForkJoinTask) c) }
def "#poolImpl '#name' propagates"() {
def "#poolName '#name' propagates"() {
setup:
def pool = poolImpl
def m = method
@ -100,9 +100,10 @@ class AkkaExecutorInstrumentationTest extends AgentTestRunner {
"submit Callable" | submitCallable | new ForkJoinPool()
"submit ForkJoinTask" | akkaSubmitForkJoinTask | new ForkJoinPool()
"invoke ForkJoinTask" | akkaInvokeForkJoinTask | new ForkJoinPool()
poolName = poolImpl.class.name
}
def "#poolImpl '#name' reports after canceled jobs"() {
def "ForkJoinPool '#name' reports after canceled jobs"() {
setup:
def pool = poolImpl
def m = method