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(); 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..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 @@ -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(); @@ -115,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(); @@ -138,6 +141,7 @@ public void testSortedOrder() throws InterruptedException { } } + @Ignore @Test public void testDeleteNonExistingLog() { String logId = formatForTest("test-delete-non-existing-log"); 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");