From 3b9be811eac4e45d4c1e551790bbcc7749cab80c Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Fri, 25 Oct 2024 18:57:18 -0400 Subject: [PATCH] chore: ignore failing ReachabilityServiceClientHttpJsonTest unit tests in network management This is a known issue (googleapis/sdk-platform-java#1839). The current workaround is to ignore these tests. This PR emulates https://github.com/googleapis/google-cloud-java/pull/10543/files --- java-network-management/owlbot.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/java-network-management/owlbot.py b/java-network-management/owlbot.py index d3b371ec0e33..b9760a8010aa 100644 --- a/java-network-management/owlbot.py +++ b/java-network-management/owlbot.py @@ -61,6 +61,16 @@ r'\s+@Test\n\s+public void testIamPermissionsTest\(\) throws Exception.*', '@Ignore("See: https://github.com/googleapis/sdk-platform-java/issues/1839")@Test\npublic void testIamPermissionsTest() throws Exception {' ) + s.replace( + v1beta1_file_name, + r'\s+@Test\n\s+public void listConnectivityTestsTest\(\) throws Exception.*', + '@Ignore("See: https://github.com/googleapis/sdk-platform-java/issues/1839")@Test\npublic void listConnectivityTestsTest() throws Exception {' + ) + s.replace( + v1beta1_file_name, + r'\s+@Test\n\s+public void createConnectivityTestTest\(\) throws Exception.*', + '@Ignore("See: https://github.com/googleapis/sdk-platform-java/issues/1839")@Test\npublic void createConnectivityTestTest() throws Exception {' + ) s.replace( v1beta1_vpcflowlogs_file_name, r'^import org.junit.Test;', @@ -96,4 +106,4 @@ "license-checks.xml", "renovate.json", ".gitignore" -]) \ No newline at end of file +])