mirror of https://github.com/apache/jclouds.git
Use the domain admin client to remove the vlan network
This commit is contained in:
parent
4a5af1e7a5
commit
1d7fd87f59
|
@ -121,9 +121,9 @@ public class NetworkClientLiveTest extends BaseCloudStackClientLiveTest {
|
|||
Logger.getAnonymousLogger().log(Level.SEVERE, "couldn't create a network, skipping test", e);
|
||||
} finally {
|
||||
if (network != null) {
|
||||
Long jobId = client.getNetworkClient().deleteNetwork(network.getId());
|
||||
Long jobId = adminClient.getNetworkClient().deleteNetwork(network.getId());
|
||||
if (jobId != null)
|
||||
jobComplete.apply(jobId);
|
||||
adminJobComplete.apply(jobId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue