File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed 
compute/cloud-client/src/test/java/compute Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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  = 30 ;
60+   private  static  final  int  DELETION_THRESHOLD_TIME_HOURS  = 1 ;
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" ;
@@ -126,7 +126,7 @@ && isCreatedBeforeThresholdTime(instance.getCreationTimestamp())) {
126126
127127  public  static  boolean  isCreatedBeforeThresholdTime (String  timestamp ) {
128128    return  OffsetDateTime .parse (timestamp ).toInstant ()
129-         .isBefore (Instant .now ().minus (DELETION_THRESHOLD_TIME_MINUTES , ChronoUnit .MINUTES ));
129+         .isBefore (Instant .now ().minus (DELETION_THRESHOLD_TIME_HOURS , ChronoUnit .MINUTES ));
130130  }
131131
132132  public  static  String  getBase64EncodedKey () {
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments