Skip to content

Commit d3e1dee

Browse files
Fixed parameters for test
1 parent 055d61e commit d3e1dee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tpu/src/test/java/tpu/TpuVmIT.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@
5454
@TestMethodOrder(MethodOrderer. OrderAnnotation. class)
5555
public class TpuVmIT {
5656
private static final String PROJECT_ID = System.getenv("GOOGLE_CLOUD_PROJECT");
57-
private static final String ZONE = "europe-west4-b";
57+
private static final String ZONE = "europe-west4-a";
5858
static String javaVersion = System.getProperty("java.version").substring(0, 2);
5959
private static final String TPU_VM_NAME = "test-tpu-" + javaVersion + "-"
6060
+ UUID.randomUUID().toString().substring(0, 8);
61-
private static final String ACCELERATOR_TYPE = "v5litepod-1";
62-
private static final String VERSION = "tpu-vm-cos-stable";
61+
private static final String ACCELERATOR_TYPE = "v2-8";
62+
private static final String VERSION = "tpu-vm-tf-2.14.1";
6363
private static final String TPU_VM_PATH_NAME =
6464
String.format("projects/%s/locations/%s/nodes/%s", PROJECT_ID, ZONE, TPU_VM_NAME);
6565

@@ -171,7 +171,7 @@ public static boolean containPrefixToDeleteAndZone(
171171

172172
public static boolean isCreatedBeforeThresholdTime(String timestamp) {
173173
return OffsetDateTime.parse(timestamp).toInstant()
174-
.isBefore(Instant.now().minus(5, ChronoUnit.MINUTES));
174+
.isBefore(Instant.now().minus(30, ChronoUnit.MINUTES));
175175
}
176176

177177
private static String formatTimestamp(Timestamp timestamp) {

0 commit comments

Comments
 (0)