Skip to content

Commit 7e739e9

Browse files
Verify subnetwork deletion in Compute test
Rule out possible undesired behavior in #2118.
1 parent c48dc6d commit 7e739e9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

google-cloud-compute/src/test/java/com/google/cloud/compute/it/ITComputeTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1565,6 +1565,8 @@ public void testAggregatedListSubnetworks() throws InterruptedException, Timeout
15651565
operation = compute.deleteNetwork(networkId);
15661566
operation.waitFor();
15671567
resourceCleaner.remove(networkId);
1568+
assertNull(compute.getSubnetwork(firstSubnetworkId));
1569+
assertNull(compute.getSubnetwork(secondSubnetworkId));
15681570
assertNull(compute.getNetwork(networkName));
15691571
}
15701572

0 commit comments

Comments
 (0)