assertNotNull("Couldn't find released agent", agentRefound);
assertTrue("Claimed agent should show as busy. (Did we find a better way?)",
agentRefound.isBusy());
} finally {
// terminate JoinManager in BuildAgent
agentAvailable.terminate();
}
}
private static DistributedMasterBuilder createMasterBuilder() throws MalformedURLException, InterruptedException {
DistributedMasterBuilder masterBuilder = getMasterBuilder_LocalhostAndTestPropsONLY(