address ci errors
This commit is contained in:
parent
7819430620
commit
5096ac35b6
|
@ -5,7 +5,7 @@ import kotlinx.coroutines.ThreadPoolDispatcherKt
|
||||||
|
|
||||||
class KotlinCoroutineInstrumentationTest extends AgentTestRunner {
|
class KotlinCoroutineInstrumentationTest extends AgentTestRunner {
|
||||||
|
|
||||||
static def dispatchersToTest = [
|
static dispatchersToTest = [
|
||||||
Dispatchers.Default,
|
Dispatchers.Default,
|
||||||
Dispatchers.IO,
|
Dispatchers.IO,
|
||||||
Dispatchers.Unconfined,
|
Dispatchers.Unconfined,
|
||||||
|
|
|
@ -160,11 +160,10 @@ public final class ExecutorInstrumentation extends Instrumenter.Default {
|
||||||
nameMatches("invoke(Any|All)$").and(takesArgument(0, Callable.class)),
|
nameMatches("invoke(Any|All)$").and(takesArgument(0, Callable.class)),
|
||||||
SetCallableStateForCallableCollectionAdvice.class.getName());
|
SetCallableStateForCallableCollectionAdvice.class.getName());
|
||||||
transformers.put( // kotlinx.coroutines.scheduling.CoroutineScheduler
|
transformers.put( // kotlinx.coroutines.scheduling.CoroutineScheduler
|
||||||
named("dispatch")
|
named("dispatch")
|
||||||
.and(takesArgument(0, Runnable.class))
|
.and(takesArgument(0, Runnable.class))
|
||||||
.and(takesArgument(1, named("kotlinx.coroutines.scheduling.TaskContext"))),
|
.and(takesArgument(1, named("kotlinx.coroutines.scheduling.TaskContext"))),
|
||||||
SetExecuteRunnableStateAdvice.class.getName());
|
SetExecuteRunnableStateAdvice.class.getName());
|
||||||
|
|
||||||
return transformers;
|
return transformers;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue