Skip to content

Commit cdc492e

Browse files
authored
chore: ignore failing VpcFlowLogsServiceClientHttpJsonTest unit tests (googleapis#11653)
Context: googleapis#11648 (comment) 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 2d717d7 commit cdc492e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

java-network-management/owlbot.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,21 @@
101101
r'\s+@Test\n\s+public void testIamPermissionsTest\(\) throws Exception.*',
102102
'@Ignore("See: https://github.com/googleapis/sdk-platform-java/issues/1839")@Test\npublic void testIamPermissionsTest() throws Exception {'
103103
)
104+
s.replace(
105+
v1beta1_vpcflowlogs_file_name,
106+
r'\s+@Test\n\s+public void createVpcFlowLogsConfigTest3\(\) throws Exception.*',
107+
'@Ignore("See: https://github.com/googleapis/sdk-platform-java/issues/1839")@Test\npublic void createVpcFlowLogsConfigTest3() throws Exception {'
108+
)
109+
s.replace(
110+
v1beta1_vpcflowlogs_file_name,
111+
r'\s+@Test\n\s+public void createVpcFlowLogsConfigTest4\(\) throws Exception.*',
112+
'@Ignore("See: https://github.com/googleapis/sdk-platform-java/issues/1839")@Test\npublic void createVpcFlowLogsConfigTest4() throws Exception {'
113+
)
114+
s.replace(
115+
v1beta1_vpcflowlogs_file_name,
116+
r'\s+@Test\n\s+public void listVpcFlowLogsConfigsTest2\(\) throws Exception.*',
117+
'@Ignore("See: https://github.com/googleapis/sdk-platform-java/issues/1839")@Test\npublic void listVpcFlowLogsConfigsTest2() throws Exception {'
118+
)
104119
s.move(library)
105120

106121
s.remove_staging_dirs()

0 commit comments

Comments
 (0)