Skip to content

Commit c04ed28

Browse files
Cleaned Storage Pool
1 parent 1882b8d commit c04ed28

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

compute/cloud-client/src/test/java/compute/Util.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public abstract class Util {
5757
// resources
5858
// and delete the listed resources based on the timestamp.
5959

60-
private static final int DELETION_THRESHOLD_TIME_MINUTES = 45;
60+
private static final int DELETION_THRESHOLD_TIME_MINUTES = 20;
6161
// comma separate list of zone names
6262
private static final String TEST_ZONES_NAME = "JAVA_DOCS_COMPUTE_TEST_ZONES";
6363
private static final String DEFAULT_ZONES = "us-central1-a,us-west1-a,asia-south1-a";

compute/cloud-client/src/test/java/compute/disks/HyperdisksIT.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
import org.junit.FixMethodOrder;
3333
import org.junit.jupiter.api.AfterAll;
3434
import org.junit.jupiter.api.BeforeAll;
35+
import org.junit.jupiter.api.Disabled;
3536
import org.junit.jupiter.api.Test;
3637
import org.junit.jupiter.api.Timeout;
3738
import org.junit.runner.RunWith;
@@ -72,11 +73,12 @@ public static void cleanup()
7273
throws IOException, InterruptedException, ExecutionException, TimeoutException {
7374
// Delete all disks created for testing.
7475
DeleteDisk.deleteDisk(PROJECT_ID, ZONE, HYPERDISK_NAME);
75-
DeleteDisk.deleteDisk(PROJECT_ID, ZONE, HYPERDISK_IN_POOL_NAME);
76+
//DeleteDisk.deleteDisk(PROJECT_ID, ZONE, HYPERDISK_IN_POOL_NAME);
7677

77-
Util.deleteStoragePool(PROJECT_ID, ZONE, STORAGE_POOL_NAME);
78+
//Util.deleteStoragePool(PROJECT_ID, ZONE, STORAGE_POOL_NAME);
7879
}
7980

81+
@Disabled
8082
@Test
8183
public void stage1_CreateHyperdiskTest()
8284
throws IOException, ExecutionException, InterruptedException, TimeoutException {
@@ -95,6 +97,7 @@ public void stage1_CreateHyperdiskTest()
9597
Assert.assertTrue(hyperdisk.getZone().contains(ZONE));
9698
}
9799

100+
@Disabled
98101
@Test
99102
public void stage1_CreateHyperdiskStoragePoolTest()
100103
throws IOException, ExecutionException, InterruptedException, TimeoutException {

0 commit comments

Comments
 (0)