public static int getRemoteExecutorQueueSize() {
        String queueSizeString = System.getProperty("remote.executor.queue.size");
        if (NumberUtils.isDigits(queueSizeString)) {
            int size = Integer.parseInt(queueSizeString);
            return size > 0 ? size : REMOTE_EXECUTOR_QUEUE_SIZE;
        } else {
            return REMOTE_EXECUTOR_QUEUE_SIZE;
        }
    }
@Test
    void testGetRemoteExecutorQueueSize() {
        int defaultExpectVal = 1 << 14;
        int defaultVal = RemoteUtils.getRemoteExecutorQueueSize();
        assertEquals(defaultExpectVal, defaultVal);
        
        System.setProperty("remote.executor.queue.size", "10");
        int val1 = RemoteUtils.getRemoteExecutorQueueSize();
        assertEquals(10, val1);
        
        System.setProperty("remote.executor.queue.size", "-1");
        int val2 = RemoteUtils.getRemoteExecutorQueueSize();
        assertEquals(defaultExpectVal, val2);
    }