From 6e927230b1a3d009b235e467d40912cbc5312131 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Tue, 1 Oct 2024 16:38:29 -0400 Subject: [PATCH] Revert "chore: Temporarily disable tests due to Quota Issues (#1699)" This reverts commit 8cf7fb42c9199951831dceb39d186f4a67cc22ee. --- .../java/com/google/cloud/logging/it/ITJulLoggerTest.java | 3 --- .../test/java/com/google/cloud/logging/it/ITLoggingTest.java | 4 ---- .../java/com/google/cloud/logging/it/ITTracingLogsTest.java | 2 -- 3 files changed, 9 deletions(-) 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 84bcfd7fe..80f0e8a50 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,7 +38,6 @@ 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 { @@ -50,7 +49,6 @@ public void tearDown() throws InterruptedException { assertTrue(cleanupLog(LOG_ID)); } - @Ignore @Test public void testLoggingHandler() throws InterruptedException { LoggingOptions options = logging.getOptions(); @@ -87,7 +85,6 @@ 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 bc45e9ef4..d5a0c8e1e 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,7 +32,6 @@ 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 { @@ -83,7 +82,6 @@ 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(); @@ -117,7 +115,6 @@ 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(); @@ -141,7 +138,6 @@ 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 aea975c5e..cdd52af39 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,10 +37,8 @@ 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");