change test not to refer aws so it doesn't look for credentials
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/89d77509 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/89d77509 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/89d77509 Branch: refs/heads/0.4.0 Commit: 89d77509c6b89519c73986e9897f69198251da54 Parents: d7afcde Author: Alex Heneveld <[email protected]> Authored: Fri Sep 28 16:51:09 2012 -0400 Committer: Alex Heneveld <[email protected]> Committed: Fri Sep 28 16:51:09 2012 -0400 ---------------------------------------------------------------------- .../java/brooklyn/location/basic/LocationResolverTest.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/89d77509/core/src/test/java/brooklyn/location/basic/LocationResolverTest.groovy ---------------------------------------------------------------------- diff --git a/core/src/test/java/brooklyn/location/basic/LocationResolverTest.groovy b/core/src/test/java/brooklyn/location/basic/LocationResolverTest.groovy index bcb053b..4c37fbf 100644 --- a/core/src/test/java/brooklyn/location/basic/LocationResolverTest.groovy +++ b/core/src/test/java/brooklyn/location/basic/LocationResolverTest.groovy @@ -73,9 +73,9 @@ public class LocationResolverTest { List<Location> l; l = new LocationRegistry().getLocationsById(["byon:(hosts=\"192.168.1.{1,2}\")"]); Assert.assertEquals(1, l.size()); - l = new LocationRegistry().getLocationsById(["aws-ec2:us-west,byon:(hosts=\"192.168.1.{1,2}\"),aws-ec2:us-east"]); + l = new LocationRegistry().getLocationsById(["byon:(hosts=192.168.0.1),byon:(hosts=\"192.168.1.{1,2}\"),byon:(hosts=192.168.0.2)"]); Assert.assertEquals(3, l.size()); - l = new LocationRegistry().getLocationsById(["aws-ec2:us-west,byon:(hosts=\"192.168.1.{1,2}\",user=bob),aws-ec2:us-east"]); + l = new LocationRegistry().getLocationsById(["byon:(hosts=192.168.0.1),byon:(hosts=\"192.168.1.{1,2}\",user=bob),byon:(hosts=192.168.0.2)"]); Assert.assertEquals(3, l.size()); }
