Skip to content

Commit 065a5d9

Browse files
committed
re-enable testCustomExecutor
1 parent 5b000a3 commit 065a5d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dubbo-common/src/test/java/org/apache/dubbo/common/concurrent/CompletableFutureTaskTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,12 @@ public void run() {
9090

9191

9292
@Test
93-
@Ignore
9493
public void testCustomExecutor() {
9594
Executor mockedExecutor = mock(Executor.class);
9695
CompletableFuture<Integer> completableFuture = CompletableFuture.supplyAsync(() -> {
9796
return 0;
9897
});
9998
completableFuture.thenRunAsync(mock(Runnable.class), mockedExecutor);
100-
verify(mockedExecutor, times(1)).execute(any());
99+
verify(mockedExecutor, times(1)).execute(any(Runnable.class));
101100
}
102101
}

0 commit comments

Comments
 (0)