LOG.info("Running acquireLockFail()...");
final Client client = new ClientImpl(CONFIG);
Assert.assertTrue("Failed to acquire the expected lock.", client.acquireLock("systemLockA", "pete", 10000));
Assert.assertFalse("Acquired lock that should have been in use.",
client.acquireLock("systemLockA", "george", 10));
Assert.assertTrue("Failed to acquire the expected lock.", client.acquireLock("systemLockA", "pete", 10000));
}
@Test
public void unpermittedJob() {
final Job job = new Job("TestAction", new Object[] { 1, 2.3, true, "test", Arrays.asList("inner", 4.5) });