Instrument BlockingThreadPoolExecutor.

This commit is contained in:
Jon Chambers
2020-06-12 13:37:42 -04:00
committed by Jon Chambers
parent 6f767a72a7
commit c17cc07b73
3 changed files with 18 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ public class BlockingThreadPoolExecutorTest {
@Test
public void testBlocking() {
BlockingThreadPoolExecutor executor = new BlockingThreadPoolExecutor(1, 3);
BlockingThreadPoolExecutor executor = new BlockingThreadPoolExecutor("test", 1, 3);
long start = System.currentTimeMillis();
executor.execute(new Runnable() {