From f75e8b37c85db643efddd3c1d451372eefe4c217 Mon Sep 17 00:00:00 2001 From: Mattie Fu Date: Thu, 1 Sep 2022 10:45:58 -0400 Subject: [PATCH 1/3] test: disable integration test --- .../google/cloud/bigtable/data/v2/it/BuiltinMetricsIT.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BuiltinMetricsIT.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BuiltinMetricsIT.java index 25ec8e442e..3ff37f70e3 100644 --- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BuiltinMetricsIT.java +++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BuiltinMetricsIT.java @@ -37,7 +37,6 @@ import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.ClassRule; -import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -76,7 +75,8 @@ public static void tearDown() { } } - @Test + // TODO: re-enable this test + // @Test public void testBuiltinMetrics() throws Exception { // Send a MutateRow and ReadRows request testEnvRule From eeaa857804f03b71e5e09fe51997a7247f124ece Mon Sep 17 00:00:00 2001 From: Mattie Fu Date: Thu, 1 Sep 2022 10:58:36 -0400 Subject: [PATCH 2/3] change to ignore --- .../com/google/cloud/bigtable/data/v2/it/BuiltinMetricsIT.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BuiltinMetricsIT.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BuiltinMetricsIT.java index 3ff37f70e3..bc5002ee58 100644 --- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BuiltinMetricsIT.java +++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BuiltinMetricsIT.java @@ -37,6 +37,7 @@ import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.ClassRule; +import org.junit.Ignore; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -76,7 +77,7 @@ public static void tearDown() { } // TODO: re-enable this test - // @Test + @Ignore public void testBuiltinMetrics() throws Exception { // Send a MutateRow and ReadRows request testEnvRule From 72e9210f237957bb2c8169a8d2097b6b296f3849 Mon Sep 17 00:00:00 2001 From: Mattie Fu Date: Thu, 1 Sep 2022 11:44:26 -0400 Subject: [PATCH 3/3] ignore the class --- .../google/cloud/bigtable/data/v2/it/BuiltinMetricsIT.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BuiltinMetricsIT.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BuiltinMetricsIT.java index bc5002ee58..0af2261227 100644 --- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BuiltinMetricsIT.java +++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/BuiltinMetricsIT.java @@ -38,10 +38,13 @@ import org.junit.BeforeClass; import org.junit.ClassRule; import org.junit.Ignore; +import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; +// TODO: re-enable this test @RunWith(JUnit4.class) +@Ignore public class BuiltinMetricsIT { @ClassRule public static TestEnvRule testEnvRule = new TestEnvRule(); public static MetricServiceClient metricClient; @@ -76,8 +79,7 @@ public static void tearDown() { } } - // TODO: re-enable this test - @Ignore + @Test public void testBuiltinMetrics() throws Exception { // Send a MutateRow and ReadRows request testEnvRule