8081828384858687888990
} catch (final RpcException e) { r = null; } assertThat("rpc", r, is(not(nullValue()))); try { site.cast("erlang", "halt", "i", 0); } catch (final RpcException e1) { } expect(nodeProxy, process, 0, State.TERMINATED); }
90919293949596979899100
@Test public void shutdownIsDetected() { final IOtpRpc site = nodeProxy.getOtpRpc(); try { site.cast("erlang", "halt", "i", 0); } catch (final RpcException e1) { } expect(nodeProxy, process, 0, State.TERMINATED); }
100101102103104105106107108109110
@Test public void exitCodeIsDetected() { final IOtpRpc site = nodeProxy.getOtpRpc(); try { site.cast("erlang", "halt", "i", 3); } catch (final RpcException e1) { } expect(nodeProxy, process, 3, State.TERMINATED); }