public void t81_PendingRequestError() throws Exception {
SCMPClnExecuteCall clnExecuteCall = new SCMPClnExecuteCall(this.requester, TestConstants.sesServerName1, this.sessionId);
clnExecuteCall.setMessageInfo(TestConstants.sleepCmd);
clnExecuteCall.setRequestBody("3000");
TestCallback cbk2 = new TestCallback();
clnExecuteCall.invoke(cbk2, 10000);
// to assure second create is not faster
Thread.sleep(20);
clnExecuteCall = new SCMPClnExecuteCall(this.requester, TestConstants.sesServerName1, this.sessionId);
TestCallback cbk1 = new TestCallback();
clnExecuteCall.invoke(cbk1, 2000);
SCMPMessage reply = cbk2.getMessageSync(4000);
SCMPMessage reply1 = cbk1.getMessageSync(4000);
TestUtil.checkReply(reply);
Assert.assertTrue(reply1.isFault());
TestUtil.verifyError(reply1, SCMPError.PARALLEL_REQUEST, SCMPMsgType.CLN_EXECUTE);
}