@Test
    public void test_getProcessId() {
        long pid = Utils.getProcessId(-1);
        assertNotEquals(-1, pid);
        System.out.println("test pid:" + pid);
    }
@author boyan (boyan@alibaba-inc.com)

2018-Apr-10 5:51:20 PM
jraft-core/src/test/java/com/alipay/sofa/jraft/util/UtilsTest.java