@Test
public void testDoPipeFail() throws Exception {

ArrayList<String> arr = new ArrayList<>();
    PipeRunResult res = doPipe(pipe, arr, session);
    assertEquals("-1", res.getResult().asString());
}