diff options
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/concurrent/MoreFuturesTest.java')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/concurrent/MoreFuturesTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/concurrent/MoreFuturesTest.java b/src/test/java/com/google/devtools/build/lib/concurrent/MoreFuturesTest.java index d842480ca2..b8fbe352a7 100644 --- a/src/test/java/com/google/devtools/build/lib/concurrent/MoreFuturesTest.java +++ b/src/test/java/com/google/devtools/build/lib/concurrent/MoreFuturesTest.java @@ -47,12 +47,12 @@ public class MoreFuturesTest { private ExecutorService executorService; @Before - public void setUp() throws Exception { + public final void createExecutor() throws Exception { executorService = Executors.newFixedThreadPool(5); } @After - public void tearDown() throws Exception { + public final void shutdownExecutor() throws Exception { MoreExecutors.shutdownAndAwaitTermination(executorService, TestUtils.WAIT_TIMEOUT_SECONDS, TimeUnit.SECONDS); |