File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
compute/cloud-client/src/test/java/compute Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ public class SnippetsIT {
5959
6060 private static final String PROJECT_ID = System .getenv ("GOOGLE_CLOUD_PROJECT" );
6161 private static final String TEST_IMAGE_PROJECT_NAME = "JAVA_DOCS_COMPUTE_TEST_IMAGE_PROJECT" ;
62- private static final String ZONE = "us-east5 -a" ;
63- private static final String REGION = "us-west1 " ;
62+ private static final String ZONE = "asia-south1 -a" ;
63+ private static final String REGION = "us-central1 " ;
6464 private static String MACHINE_NAME ;
6565 private static String MACHINE_NAME_LIST_INSTANCE ;
6666 private static String MACHINE_NAME_WAIT_FOR_OP ;
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ && isCreatedBeforeThresholdTime(instance.getCreationTimestamp())
9393
9494 public static boolean isCreatedBeforeThresholdTime (String timestamp ) {
9595 return OffsetDateTime .parse (timestamp ).toInstant ()
96- .isBefore (Instant .now ().minus (DELETION_THRESHOLD_TIME_HOURS , ChronoUnit .HOURS ));
96+ .isBefore (Instant .now ().minus (DELETION_THRESHOLD_TIME_HOURS , ChronoUnit .MINUTES ));
9797 }
9898
9999 public static AggregatedListPagedResponse listFilteredInstances (String project ,
Original file line number Diff line number Diff line change 5555public class ReservationIT {
5656
5757 private static final String PROJECT_ID = System .getenv ("GOOGLE_CLOUD_PROJECT" );
58- private static final String ZONE = "europe-north1 -a" ;
58+ private static final String ZONE = "us-central1 -a" ;
5959 private static final String REGION = ZONE .substring (0 , ZONE .lastIndexOf ('-' ));
6060 private static ReservationsClient reservationsClient ;
6161 private static String RESERVATION_NAME ;
You can’t perform that action at this time.
0 commit comments