Skip to content

Commit b14809c

Browse files
Fixed zone
1 parent 721abfb commit b14809c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compute/cloud-client/src/test/java/compute/Util.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ && isCreatedBeforeThresholdTime(instance.getCreationTimestamp())) {
127127

128128
public static boolean isCreatedBeforeThresholdTime(String timestamp) {
129129
return OffsetDateTime.parse(timestamp).toInstant()
130-
.isBefore(Instant.now().minus(DELETION_THRESHOLD_TIME_HOURS, ChronoUnit.HOURS));
130+
.isBefore(Instant.now().minus(DELETION_THRESHOLD_TIME_HOURS, ChronoUnit.MINUTES));
131131
}
132132

133133
public static String getBase64EncodedKey() {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
4545
public class HyperdisksIT {
4646
private static final String PROJECT_ID = System.getenv("GOOGLE_CLOUD_PROJECT");
47-
private static final String ZONE = "us-central1-a";
47+
private static final String ZONE = "us-west1-a";
4848
private static final String HYPERDISK_NAME = "test-hyperdisk-enc-" + UUID.randomUUID();
4949
private static final String HYPERDISK_IN_POOL_NAME = "test-hyperdisk-enc-" + UUID.randomUUID();
5050
private static final String STORAGE_POOL_NAME = "test-storage-pool-enc-" + UUID.randomUUID();

0 commit comments

Comments
 (0)