public static Future<?> runInThread(final Runnable runnable) {
        return executor.submit(runnable);
    }
Test helper

@author boyan (boyan@alibaba-inc.com)
<p>
2018-Apr-11 10:16:07 AM
jraft-core/src/test/java/com/alipay/sofa/jraft/test/TestUtils.java