master is not accessible via getComputer

This commit is contained in:
Adrian Cole 2012-04-24 11:51:20 -07:00
parent 96b9e8c8b0
commit 559a37ceff
1 changed files with 4 additions and 2 deletions

View File

@ -39,8 +39,10 @@ public class ComputerClientLiveTest extends BaseJenkinsClientLiveTest {
assertNotNull(view.getDisplayName());
for (Computer computerFromView : view.getComputers()) {
assertNotNull(computerFromView.getDisplayName());
Computer computerFromGetRequest = getClient().getComputer(computerFromView.getDisplayName());
assertEquals(computerFromGetRequest, computerFromView);
if (!"master".equals(computerFromView.getDisplayName())) {
Computer computerFromGetRequest = getClient().getComputer(computerFromView.getDisplayName());
assertEquals(computerFromGetRequest, computerFromView);
}
}
}