Skip to content

Commit

Permalink
chore: ignore failing ReachabilityServiceClientHttpJsonTest unit test…
Browse files Browse the repository at this point in the history
…s in network management (#11274)

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
  • Loading branch information
mpeddada1 authored Oct 25, 2024
1 parent fed8d6b commit d51981f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion java-network-management/owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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;',
Expand Down Expand Up @@ -96,4 +106,4 @@
"license-checks.xml",
"renovate.json",
".gitignore"
])
])

0 comments on commit d51981f

Please sign in to comment.