File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 1515import synthtool as s
1616from synthtool .languages import java
1717
18+ file_name = "owl-bot-staging/v1/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClientHttpJsonTest.java"
1819
1920for library in s .get_staging_dirs ():
2021 # put any special-case replacements here
22+ s .replace (
23+ file_name ,
24+ r'^import org.junit.Test;' ,
25+ 'import org.junit.Ignore;\n import org.junit.Test;'
26+ )
27+ s .replace (
28+ file_name ,
29+ r"\s+@Test\n\s+public void setIamPolicyTest\(\) throws Exception.*" ,
30+ '@Ignore("See: https://github.com/googleapis/sdk-platform-java/issues/1839")\n @Test\n public void setIamPolicyTest() throws Exception {'
31+ )
32+ s .replace (
33+ file_name ,
34+ r'\s+@Test\n\s+public void getIamPolicyTest\(\) throws Exception.*' ,
35+ '@Ignore("See: https://github.com/googleapis/sdk-platform-java/issues/1839")\n @Test\n public void getIamPolicyTest() throws Exception {'
36+ )
37+ s .replace (
38+ file_name ,
39+ r'\s+@Test\n\s+public void testIamPermissionsTest\(\) throws Exception.*' ,
40+ '@Ignore("See: https://github.com/googleapis/sdk-platform-java/issues/1839")@Test\n public void testIamPermissionsTest() throws Exception {'
41+ )
2142 s .move (library )
2243
2344s .remove_staging_dirs ()
You can’t perform that action at this time.
0 commit comments