Skip to content

Commit 69e107c

Browse files
Fixed tests
1 parent d0ca1da commit 69e107c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tpu/src/test/java/tpu/CreateTpuWithTopologyFlagIT.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import static com.google.common.truth.Truth.assertWithMessage;
2121
import static org.junit.Assert.assertNotNull;
2222

23-
import com.google.api.gax.rpc.NotFoundException;
2423
import com.google.cloud.tpu.v2.AcceleratorConfig;
2524
import com.google.cloud.tpu.v2.AcceleratorConfig.Type;
2625
import com.google.cloud.tpu.v2.Node;
@@ -29,7 +28,6 @@
2928
import java.util.concurrent.ExecutionException;
3029
import java.util.concurrent.TimeUnit;
3130
import org.junit.jupiter.api.AfterAll;
32-
import org.junit.jupiter.api.Assertions;
3331
import org.junit.jupiter.api.BeforeAll;
3432
import org.junit.jupiter.api.Test;
3533
import org.junit.jupiter.api.Timeout;
@@ -60,10 +58,6 @@ public static void setUp() {
6058
@AfterAll
6159
public static void cleanup() throws Exception {
6260
DeleteTpuVm.deleteTpuVm(PROJECT_ID, ZONE, NODE_NAME);
63-
64-
Assertions.assertThrows(
65-
NotFoundException.class,
66-
() -> GetTpuVm.getTpuVm(PROJECT_ID, ZONE, NODE_NAME));
6761
}
6862

6963
@Test

0 commit comments

Comments
 (0)