@Test public void testDelJobInQueue() throws Exception { CreationTools.createJobDef(null, true, "App", null, "jqm-tests/jqm-test-datetimemaven/target/test.jar", TestHelpers.qVip, 42, "MarsuApplication", null, "Franquin", "ModuleMachin", "other", "other", false, cnx); int i = JobRequest.create("MarsuApplication", "TestUser").submit(); JqmClientFactory.getClient().deleteJob(i); addAndStartEngine(); Thread.sleep(1000); Assert.assertEquals(0, TestHelpers.getHistoryAllCount(cnx)); Assert.assertEquals(0, TestHelpers.getQueueAllCount(cnx)); }