From 691111205d1686e43248d5b52ef6616d223f1612 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Tue, 1 Oct 2024 15:53:50 -0400 Subject: [PATCH 1/4] chore: Temporarily disable ITLoggingTest.testListEntries() --- .../test/java/com/google/cloud/logging/it/ITLoggingTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/it/ITLoggingTest.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/it/ITLoggingTest.java index d5a0c8e1e..c150a4a0c 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/it/ITLoggingTest.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/it/ITLoggingTest.java @@ -32,6 +32,7 @@ import java.util.Iterator; import org.junit.AfterClass; import org.junit.BeforeClass; +import org.junit.Ignore; import org.junit.Test; public class ITLoggingTest extends BaseSystemTest { @@ -82,6 +83,7 @@ public static void cleanUpLogs() throws InterruptedException { assertTrue(cleanupLog(LOG_ID)); } + @Ignore @Test(timeout = 600_000) // Note: it can take ~10 minutes for logs to propagate! public void testListEntries() throws InterruptedException { LoggingOptions loggingOptions = logging.getOptions(); From 1e8194629ac3ccfefce8a2db1c3d1521ab3baf9c Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Tue, 1 Oct 2024 16:02:55 -0400 Subject: [PATCH 2/4] chore: Ignore additional tests --- .../test/java/com/google/cloud/logging/it/ITJulLoggerTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/it/ITJulLoggerTest.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/it/ITJulLoggerTest.java index 80f0e8a50..84bcfd7fe 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/it/ITJulLoggerTest.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/it/ITJulLoggerTest.java @@ -38,6 +38,7 @@ import java.util.logging.Level; import java.util.logging.Logger; import org.junit.After; +import org.junit.Ignore; import org.junit.Test; public class ITJulLoggerTest extends BaseSystemTest { @@ -49,6 +50,7 @@ public void tearDown() throws InterruptedException { assertTrue(cleanupLog(LOG_ID)); } + @Ignore @Test public void testLoggingHandler() throws InterruptedException { LoggingOptions options = logging.getOptions(); @@ -85,6 +87,7 @@ public void testLoggingHandler() throws InterruptedException { logger.removeHandler(handler); } + @Ignore @Test public void testSyncLoggingHandler() throws InterruptedException { LoggingOptions options = logging.getOptions(); From fe56bbb149b2d0add394cc1573ed9d33f60559df Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Tue, 1 Oct 2024 16:10:06 -0400 Subject: [PATCH 3/4] chore: Ignore additional tests --- .../test/java/com/google/cloud/logging/it/ITLoggingTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/it/ITLoggingTest.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/it/ITLoggingTest.java index c150a4a0c..bc45e9ef4 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/it/ITLoggingTest.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/it/ITLoggingTest.java @@ -117,6 +117,7 @@ public void testListEntries() throws InterruptedException { assertNotNull(entry.getTimestamp()); } + @Ignore @Test(timeout = 600_000) // Note: it can take ~10 minutes for logs to propagate! public void testSortedOrder() throws InterruptedException { LoggingOptions loggingOptions = logging.getOptions(); @@ -140,6 +141,7 @@ public void testSortedOrder() throws InterruptedException { } } + @Ignore @Test public void testDeleteNonExistingLog() { String logId = formatForTest("test-delete-non-existing-log"); From 66738b38a866bae38914a10b40f2b0de43ac7eb8 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Tue, 1 Oct 2024 16:21:39 -0400 Subject: [PATCH 4/4] chore: Ignore additional tests --- .../java/com/google/cloud/logging/it/ITTracingLogsTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/it/ITTracingLogsTest.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/it/ITTracingLogsTest.java index cdd52af39..aea975c5e 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/it/ITTracingLogsTest.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/it/ITTracingLogsTest.java @@ -37,8 +37,10 @@ import java.util.Iterator; import org.junit.After; import org.junit.BeforeClass; +import org.junit.Ignore; import org.junit.Test; +@Ignore public class ITTracingLogsTest extends BaseSystemTest { private static final String LOG_ID = formatForTest("test-write-log-entries-log");