Don't use non-fixed test name for akka executor (#933)
This commit is contained in:
parent
d85cce0f62
commit
e991cae7f0
|
@ -1,3 +1,7 @@
|
||||||
|
ext {
|
||||||
|
retryTests = true
|
||||||
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/gradle/instrumentation.gradle"
|
apply from: "$rootDir/gradle/instrumentation.gradle"
|
||||||
apply from: "$rootDir/gradle/test-with-scala.gradle"
|
apply from: "$rootDir/gradle/test-with-scala.gradle"
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ class AkkaExecutorInstrumentationTest extends AgentTestRunner {
|
||||||
@Shared
|
@Shared
|
||||||
def akkaInvokeForkJoinTask = { e, c -> e.invoke((ForkJoinTask) c) }
|
def akkaInvokeForkJoinTask = { e, c -> e.invoke((ForkJoinTask) c) }
|
||||||
|
|
||||||
def "#poolImpl '#name' propagates"() {
|
def "#poolName '#name' propagates"() {
|
||||||
setup:
|
setup:
|
||||||
def pool = poolImpl
|
def pool = poolImpl
|
||||||
def m = method
|
def m = method
|
||||||
|
@ -100,9 +100,10 @@ class AkkaExecutorInstrumentationTest extends AgentTestRunner {
|
||||||
"submit Callable" | submitCallable | new ForkJoinPool()
|
"submit Callable" | submitCallable | new ForkJoinPool()
|
||||||
"submit ForkJoinTask" | akkaSubmitForkJoinTask | new ForkJoinPool()
|
"submit ForkJoinTask" | akkaSubmitForkJoinTask | new ForkJoinPool()
|
||||||
"invoke ForkJoinTask" | akkaInvokeForkJoinTask | 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:
|
setup:
|
||||||
def pool = poolImpl
|
def pool = poolImpl
|
||||||
def m = method
|
def m = method
|
||||||
|
|
Loading…
Reference in New Issue