From e2730a47077c15399c166872866f5c964ea7dafd Mon Sep 17 00:00:00 2001 From: wangzhiqian Date: Thu, 13 Jun 2019 14:58:58 +0800 Subject: [PATCH] [async retry] fix unit test --- .../java/com/github/phantomthief/scope/ScopeAsyncRetryTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/test/java/com/github/phantomthief/scope/ScopeAsyncRetryTest.java b/src/test/java/com/github/phantomthief/scope/ScopeAsyncRetryTest.java index 5a3e032..9bc9bac 100644 --- a/src/test/java/com/github/phantomthief/scope/ScopeAsyncRetryTest.java +++ b/src/test/java/com/github/phantomthief/scope/ScopeAsyncRetryTest.java @@ -435,7 +435,6 @@ void testCallerTimeoutListener() throws InterruptedException, ExecutionException System.out.println("nothing."); } catch (TimeoutException e) { System.out.println("timeout by caller."); - assertTrue(timeoutListenerTriggered.get()); } catch (ExecutionException e) { if (Throwables.getRootCause(e) instanceof TimeoutException) { System.out.println("timeout by retrier.");