File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
mysql/servlet/src/test/java/com/example/cloudsql
postgres/servlet/src/test/java/com/example/cloudsql
sqlserver/servlet/src/test/java/com/example/cloudsql Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 3838import javax .sql .DataSource ;
3939import org .junit .AfterClass ;
4040import org .junit .BeforeClass ;
41+ import org .junit .Ignore ;
4142import org .junit .Test ;
4243
4344
@@ -101,6 +102,7 @@ public static void dropTable() throws SQLException {
101102 }
102103
103104 @ Test
105+ @ Ignore ("https://github.com/GoogleCloudPlatform/java-docs-samples/issues/8794" )
104106 public void testGetTemplateData () throws Exception {
105107 TemplateData templateData = new IndexServlet ().getTemplateData (pool );
106108
@@ -110,6 +112,7 @@ public void testGetTemplateData() throws Exception {
110112 }
111113
112114 @ Test
115+ @ Ignore ("https://github.com/GoogleCloudPlatform/java-docs-samples/issues/8794" )
113116 public void testServletPost () throws Exception {
114117 HttpServletRequest request = mock (HttpServletRequest .class );
115118 HttpServletResponse response = mock (HttpServletResponse .class );
@@ -128,4 +131,4 @@ public void testServletPost() throws Exception {
128131 writer .flush ();
129132 assertTrue (stringWriter .toString ().contains ("Vote successfully cast for" ));
130133 }
131- }
134+ }
Original file line number Diff line number Diff line change 3838import javax .sql .DataSource ;
3939import org .junit .AfterClass ;
4040import org .junit .BeforeClass ;
41+ import org .junit .Ignore ;
4142import org .junit .Test ;
4243
4344
@@ -102,6 +103,7 @@ public static void dropTable() throws SQLException {
102103 }
103104
104105 @ Test
106+ @ Ignore ("https://github.com/GoogleCloudPlatform/java-docs-samples/issues/8794" )
105107 public void testGetTemplateData () throws Exception {
106108 TemplateData templateData = new IndexServlet ().getTemplateData (pool );
107109
@@ -111,6 +113,7 @@ public void testGetTemplateData() throws Exception {
111113 }
112114
113115 @ Test
116+ @ Ignore ("https://github.com/GoogleCloudPlatform/java-docs-samples/issues/8794" )
114117 public void testServletPost () throws Exception {
115118 HttpServletRequest request = mock (HttpServletRequest .class );
116119 HttpServletResponse response = mock (HttpServletResponse .class );
@@ -129,4 +132,4 @@ public void testServletPost() throws Exception {
129132 writer .flush ();
130133 assertTrue (stringWriter .toString ().contains ("Vote successfully cast for" ));
131134 }
132- }
135+ }
Original file line number Diff line number Diff line change 3838import javax .sql .DataSource ;
3939import org .junit .AfterClass ;
4040import org .junit .BeforeClass ;
41+ import org .junit .Ignore ;
4142import org .junit .Test ;
4243
4344
@@ -111,6 +112,7 @@ public static void dropTable() throws SQLException {
111112
112113
113114 @ Test
115+ @ Ignore ("https://github.com/GoogleCloudPlatform/java-docs-samples/issues/8794" )
114116 public void testGetTemplateData () throws Exception {
115117 TemplateData templateData = new IndexServlet ().getTemplateData (pool );
116118
@@ -120,6 +122,7 @@ public void testGetTemplateData() throws Exception {
120122 }
121123
122124 @ Test
125+ @ Ignore ("https://github.com/GoogleCloudPlatform/java-docs-samples/issues/8794" )
123126 public void testServletPost () throws Exception {
124127 HttpServletRequest request = mock (HttpServletRequest .class );
125128 HttpServletResponse response = mock (HttpServletResponse .class );
You can’t perform that action at this time.
0 commit comments