Skip to content

Commit f0b3cd6

Browse files
Fixed test
1 parent 6dd0865 commit f0b3cd6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
import org.junit.Assert;
3232
import org.junit.jupiter.api.AfterAll;
3333
import org.junit.jupiter.api.BeforeAll;
34+
import org.junit.jupiter.api.Disabled;
3435
import org.junit.jupiter.api.MethodOrderer;
3536
import org.junit.jupiter.api.Order;
3637
import org.junit.jupiter.api.Test;
@@ -77,10 +78,9 @@ public static void cleanup()
7778
throws IOException, InterruptedException, ExecutionException, TimeoutException {
7879
// Delete all disks created for testing.
7980
DeleteDisk.deleteDisk(PROJECT_ID, ZONE, HYPERDISK_NAME);
80-
DeleteDisk.deleteDisk(PROJECT_ID, ZONE, HYPERDISK_IN_POOL_NAME);
81-
82-
Util.deleteStoragePool(PROJECT_ID, ZONE, STORAGE_POOL_NAME);
81+
//DeleteDisk.deleteDisk(PROJECT_ID, ZONE, HYPERDISK_IN_POOL_NAME);
8382

83+
//Util.deleteStoragePool(PROJECT_ID, ZONE, STORAGE_POOL_NAME);
8484
}
8585

8686
@Test
@@ -102,6 +102,7 @@ public void testCreateHyperdisk()
102102
Assert.assertTrue(hyperdisk.getZone().contains(ZONE));
103103
}
104104

105+
@Disabled
105106
@Test
106107
@Order(1)
107108
public void testCreateHyperdiskStoragePool()
@@ -126,6 +127,7 @@ public void testCreateHyperdiskStoragePool()
126127
Assert.assertTrue(storagePool.getZone().contains(ZONE));
127128
}
128129

130+
@Disabled
129131
@Test
130132
@Order(2)
131133
public void testCreateDiskInStoragePool()

0 commit comments

Comments
 (0)