diff --git a/dubbo-common/src/test/java/org/apache/dubbo/common/concurrent/CompletableFutureTaskTest.java b/dubbo-common/src/test/java/org/apache/dubbo/common/concurrent/CompletableFutureTaskTest.java index 2c98f9f4236f..092f6e814931 100644 --- a/dubbo-common/src/test/java/org/apache/dubbo/common/concurrent/CompletableFutureTaskTest.java +++ b/dubbo-common/src/test/java/org/apache/dubbo/common/concurrent/CompletableFutureTaskTest.java @@ -90,13 +90,12 @@ public void run() { @Test - @Ignore public void testCustomExecutor() { Executor mockedExecutor = mock(Executor.class); CompletableFuture completableFuture = CompletableFuture.supplyAsync(() -> { return 0; }); completableFuture.thenRunAsync(mock(Runnable.class), mockedExecutor); - verify(mockedExecutor, times(1)).execute(any()); + verify(mockedExecutor, times(1)).execute(any(Runnable.class)); } } \ No newline at end of file