swaqos commented on this pull request.
> + @BeforeClass(groups = {"integration", "live"})
+ @Override
+ public void setup() {
+ super.setup();
+
+ loadBalancerApi = api.getLoadBalancerApi();
+
+ datacenter = Iterables.get(api.getDatacenterApi().listDatacenters(), 0);
+ assertNotNull(datacenter, "Datacenter must not be null");
+ }
+
+ @Test
+ public void testCreateLoadBalancer() throws Exception {
+ assertTrue(subnetId != -1, "Please set the subnetId");
+ assertTrue(!testInstancePrivateIp.equals(""), "Please set the
testInstancePrivateIp for Member functions testing");
+ loadBalancer = LoadBalancer.create(0, 0, "", new Date(), "", 0, 0,
The reason for this is because of the wait state at line 113-125, the
assignment of the `loadBalancer` object needs to be created (not null) for the
`apply` function.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1176#discussion_r164456055