Use the domain admin client to remove the vlan network

This commit is contained in:
andreisavu 2011-11-22 11:47:20 +02:00
parent 4a5af1e7a5
commit 1d7fd87f59
1 changed files with 2 additions and 2 deletions

View File

@ -121,9 +121,9 @@ public class NetworkClientLiveTest extends BaseCloudStackClientLiveTest {
Logger.getAnonymousLogger().log(Level.SEVERE, "couldn't create a network, skipping test", e); Logger.getAnonymousLogger().log(Level.SEVERE, "couldn't create a network, skipping test", e);
} finally { } finally {
if (network != null) { if (network != null) {
Long jobId = client.getNetworkClient().deleteNetwork(network.getId()); Long jobId = adminClient.getNetworkClient().deleteNetwork(network.getId());
if (jobId != null) if (jobId != null)
jobComplete.apply(jobId); adminJobComplete.apply(jobId);
} }
} }
} }