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