File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ public class QueuedResourcesIT {
5656      + UUID .randomUUID ().toString ().substring (0 , 8 );
5757  private  static  final  String  QUEUED_RESOURCE_PATH_NAME  =
5858      String .format ("projects/%s/locations/%s/queuedResources/%s" ,
59- 
6059          PROJECT_ID , ZONE , QUEUED_RESOURCE_NAME );
6160
6261  public  static  void  requireEnvVar (String  envVarName ) {
@@ -72,13 +71,14 @@ public static void setUp()
7271
7372    // Cleanup existing stale resources. 
7473    Util .cleanUpExistingTpu ("test-tpu-queued-resource-"  + javaVersion , PROJECT_ID , ZONE );
75-     TimeUnit .MINUTES .sleep (3 );
74+     TimeUnit .MINUTES .sleep (5 );
7675    Util .cleanUpExistingQueuedResources ("queued-resource-" , PROJECT_ID , ZONE );
7776  }
7877
7978  @ AfterAll 
80-   public  static  void  cleanup () {
79+   public  static  void  cleanup () throws   InterruptedException   {
8180    DeleteForceQueuedResource .deleteForceQueuedResource (PROJECT_ID , ZONE , QUEUED_RESOURCE_NAME );
81+     TimeUnit .MINUTES .sleep (5 );
8282
8383    // Test that Queued Resource is deleted 
8484    Assertions .assertThrows (
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments