Skip to content

Commit

Permalink
[HHQ-3404] Fix unit test so it completes on all platform types.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Morgan committed Sep 11, 2009
1 parent 14f97a3 commit f288238
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/org/hyperic/hq/hqapi1/test/ResourceCreateServer_test.java
Expand Up @@ -116,14 +116,13 @@ public void testCreateServerInvalidPrototype() throws Exception {
ResourceApi api = getApi().getResourceApi();

ResourcePrototypeResponse protoResponse =
api.getResourcePrototype(".NET 1.1");
api.getResourcePrototype("Cisco IOS Server");
hqAssertSuccess(protoResponse);

// TODO: This requires a non-Windows type!
Resource parent = getLocalPlatformResource(false, false);

Random r = new Random();
final String name = "Test .NET Server" + r.nextInt();
final String name = "Test Cisco IOS Server" + r.nextInt();

Map<String,String> config = new HashMap<String,String>();

Expand Down

0 comments on commit f288238

Please sign in to comment.