@@ -111,9 +111,6 @@ public class CommandDispatcherTest {
111111 /** Small delay to ensure blocking tasks are fully blocking before submitting test request */
112112 private static final long TASK_STABILIZATION_DELAY_MS = 100 ;
113113
114- /** Thread pool size for silent requests (matches CommandDispatcher.SILENT_REQUEST_THREAD_POOL_SIZE) */
115- private static final int SILENT_THREAD_POOL_SIZE = 12 ;
116-
117114 /** Number of concurrent requests for state collision test */
118115 private static final int CONCURRENT_REQUEST_COUNT = 20 ;
119116
@@ -891,7 +888,7 @@ public void accept(String s) {
891888 *
892889 * <p>Test Strategy:
893890 * <ol>
894- * <li>Fill all {@link #SILENT_THREAD_POOL_SIZE} thread pool threads with blocking tasks</li>
891+ * <li>Fill all thread pool threads with blocking tasks</li>
895892 * <li>Submit a new request that will be queued (state: QUEUED)</li>
896893 * <li>Request times out after 30 seconds while still in queue</li>
897894 * <li>Verify error code is TIMED_OUT_THREAD_POOL_SATURATED</li>
@@ -904,7 +901,7 @@ public void accept(String s) {
904901 @ Test
905902 public void testTimeoutClassification_ThreadPoolSaturated () throws Exception {
906903 Log .d (TAG , "testTimeoutClassification_ThreadPoolSaturated: Starting test" );
907- final int POOL_SIZE = SILENT_THREAD_POOL_SIZE ;
904+ final int POOL_SIZE = CommandDispatcher . SILENT_REQUEST_THREAD_POOL_SIZE ;
908905 final CountDownLatch tasksStarted = new CountDownLatch (POOL_SIZE );
909906 final CountDownLatch releaseBlockingTasks = new CountDownLatch (1 );
910907 final CountDownLatch tasksCompleted = new CountDownLatch (POOL_SIZE ); // Track completion
0 commit comments