This repository was archived by the owner on May 8, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343import java .util .List ;
4444import java .util .Random ;
4545import java .util .logging .Logger ;
46- import org .junit .AfterClass ;
4746import org .junit .BeforeClass ;
4847import org .junit .ClassRule ;
4948import org .junit .Rule ;
@@ -65,7 +64,7 @@ public class BigtableSchemaBundleIT {
6564
6665 private static BigtableTableAdminClient tableAdmin ;
6766 private static BigtableDataClient dataClient ;
68- private static Table testTable ;
67+ private Table testTable ;
6968
7069 @ BeforeClass
7170 public static void setUpClass () throws InterruptedException {
@@ -76,12 +75,15 @@ public static void setUpClass() throws InterruptedException {
7675
7776 tableAdmin = testEnvRule .env ().getTableAdminClient ();
7877 dataClient = testEnvRule .env ().getDataClient ();
78+ }
7979
80+ @ Before
81+ public void setUp () throws InterruptedException {
8082 testTable = createAndPopulateTestTable (tableAdmin , dataClient );
8183 }
8284
83- @ AfterClass
84- public static void tearDownClass () {
85+ @ After
86+ public void tearDown () {
8587 if (testTable != null ) {
8688 try {
8789 tableAdmin .deleteTable (testTable .getId ());
You can’t perform that action at this time.
0 commit comments