Skip to content

Commit d51981f

Browse files
authored
chore: ignore failing ReachabilityServiceClientHttpJsonTest unit tests 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
1 parent fed8d6b commit d51981f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

java-network-management/owlbot.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,16 @@
6161
r'\s+@Test\n\s+public void testIamPermissionsTest\(\) throws Exception.*',
6262
'@Ignore("See: https://github.com/googleapis/sdk-platform-java/issues/1839")@Test\npublic void testIamPermissionsTest() throws Exception {'
6363
)
64+
s.replace(
65+
v1beta1_file_name,
66+
r'\s+@Test\n\s+public void listConnectivityTestsTest\(\) throws Exception.*',
67+
'@Ignore("See: https://github.com/googleapis/sdk-platform-java/issues/1839")@Test\npublic void listConnectivityTestsTest() throws Exception {'
68+
)
69+
s.replace(
70+
v1beta1_file_name,
71+
r'\s+@Test\n\s+public void createConnectivityTestTest\(\) throws Exception.*',
72+
'@Ignore("See: https://github.com/googleapis/sdk-platform-java/issues/1839")@Test\npublic void createConnectivityTestTest() throws Exception {'
73+
)
6474
s.replace(
6575
v1beta1_vpcflowlogs_file_name,
6676
r'^import org.junit.Test;',
@@ -96,4 +106,4 @@
96106
"license-checks.xml",
97107
"renovate.json",
98108
".gitignore"
99-
])
109+
])

0 commit comments

Comments
 (0)