From 154c39b93f241d11deeb3f1df31ba2480755f73c Mon Sep 17 00:00:00 2001 From: Blake Li Date: Fri, 19 Aug 2022 18:45:22 +0000 Subject: [PATCH] fix: Ignore samples tests (#707) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Ignore ClusterTests * Update DeploymentTests.java * Update RealmTests.java * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .../src/test/java/com/example/gameservices/ClusterTests.java | 2 ++ .../src/test/java/com/example/gameservices/DeploymentTests.java | 2 ++ .../src/test/java/com/example/gameservices/RealmTests.java | 2 ++ 3 files changed, 6 insertions(+) diff --git a/samples/snippets/src/test/java/com/example/gameservices/ClusterTests.java b/samples/snippets/src/test/java/com/example/gameservices/ClusterTests.java index 9b0b4695..75aa1c9f 100644 --- a/samples/snippets/src/test/java/com/example/gameservices/ClusterTests.java +++ b/samples/snippets/src/test/java/com/example/gameservices/ClusterTests.java @@ -33,10 +33,12 @@ import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; +@Ignore @RunWith(JUnit4.class) public class ClusterTests { private static final String PROJECT_ID = System.getenv("GOOGLE_CLOUD_PROJECT"); diff --git a/samples/snippets/src/test/java/com/example/gameservices/DeploymentTests.java b/samples/snippets/src/test/java/com/example/gameservices/DeploymentTests.java index 7652bb8f..fcd44a0d 100644 --- a/samples/snippets/src/test/java/com/example/gameservices/DeploymentTests.java +++ b/samples/snippets/src/test/java/com/example/gameservices/DeploymentTests.java @@ -32,10 +32,12 @@ import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; +@Ignore @RunWith(JUnit4.class) public class DeploymentTests { private static final String PROJECT_ID = System.getenv("GOOGLE_CLOUD_PROJECT"); diff --git a/samples/snippets/src/test/java/com/example/gameservices/RealmTests.java b/samples/snippets/src/test/java/com/example/gameservices/RealmTests.java index 1b4e8961..489b3430 100644 --- a/samples/snippets/src/test/java/com/example/gameservices/RealmTests.java +++ b/samples/snippets/src/test/java/com/example/gameservices/RealmTests.java @@ -32,10 +32,12 @@ import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; +@Ignore @RunWith(JUnit4.class) public class RealmTests { private static final String PROJECT_ID = System.getenv("GOOGLE_CLOUD_PROJECT");