3232import  org .junit .FixMethodOrder ;
3333import  org .junit .jupiter .api .AfterAll ;
3434import  org .junit .jupiter .api .BeforeAll ;
35- import  org .junit .jupiter .api .Disabled ;
3635import  org .junit .jupiter .api .Test ;
3736import  org .junit .jupiter .api .Timeout ;
3837import  org .junit .runner .RunWith ;
@@ -66,16 +65,17 @@ public static void setUp()
6665
6766    Util .cleanUpExistingDisks ("test-hyperdisk-enc-" , PROJECT_ID , ZONE );
6867    Util .cleanUpExistingStoragePool ("test-storage-pool-enc-" , PROJECT_ID , ZONE );
68+     TimeUnit .MINUTES .sleep (2 );
6969  }
7070
7171  @ AfterAll 
7272  public  static  void  cleanup ()
7373       throws  IOException , InterruptedException , ExecutionException , TimeoutException  {
7474    // Delete all disks created for testing. 
7575    DeleteDisk .deleteDisk (PROJECT_ID , ZONE , HYPERDISK_NAME );
76-     // DeleteDisk.deleteDisk(PROJECT_ID, ZONE, HYPERDISK_IN_POOL_NAME);
76+     DeleteDisk .deleteDisk (PROJECT_ID , ZONE , HYPERDISK_IN_POOL_NAME );
7777
78-     // Util.deleteStoragePool(PROJECT_ID, ZONE, STORAGE_POOL_NAME);
78+     Util .deleteStoragePool (PROJECT_ID , ZONE , STORAGE_POOL_NAME );
7979  }
8080
8181  @ Test 
@@ -96,7 +96,6 @@ public void stage1_CreateHyperdiskTest()
9696    Assert .assertTrue (hyperdisk .getZone ().contains (ZONE ));
9797  }
9898
99-   @ Disabled 
10099  @ Test 
101100  public  void  stage1_CreateHyperdiskStoragePoolTest ()
102101      throws  IOException , ExecutionException , InterruptedException , TimeoutException  {
@@ -116,7 +115,6 @@ public void stage1_CreateHyperdiskStoragePoolTest()
116115    Assert .assertTrue (storagePool .getZone ().contains (ZONE ));
117116  }
118117
119-   @ Disabled 
120118  @ Test 
121119  public  void  stage2_CreateHyperdiskStoragePoolTest ()
122120      throws  IOException , ExecutionException , InterruptedException , TimeoutException  {
0 commit comments