Skip to content

Commit bae31b3

Browse files
authored
ci: skip failing retail tests (#10134)
* ci: skip failing retail tests * correct linting issues on other files in same sample folder
1 parent 9c7edd0 commit bae31b3

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

retail/interactive-tutorials/src/main/java/product/DeleteProduct.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@
1717
/*
1818
* Delete product from a catalog using Retail API
1919
*/
20-
// [START retail_delete_product]
20+
2121
package product;
2222

23+
// [START retail_delete_product]
2324
import static setup.SetupCleanup.createProduct;
2425

2526
import com.google.cloud.retail.v2.DeleteProductRequest;

retail/interactive-tutorials/src/main/java/product/GetProduct.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
*/
2020

2121
package product;
22+
2223
// [START retail_get_product]
2324
import static setup.SetupCleanup.createProduct;
2425
import static setup.SetupCleanup.deleteProduct;

retail/interactive-tutorials/src/test/java/search/SearchWithBoostSpecTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import java.util.concurrent.ExecutionException;
2727
import org.junit.After;
2828
import org.junit.Before;
29+
import org.junit.Ignore;
2930
import org.junit.Test;
3031
import org.junit.runner.RunWith;
3132
import org.junit.runners.JUnit4;
@@ -50,6 +51,7 @@ public void setUp() throws IOException, InterruptedException, ExecutionException
5051
}
5152

5253
@Test
54+
@Ignore("https://github.com/GoogleCloudPlatform/java-docs-samples/issues/10133")
5355
public void testOutput() {
5456
String outputResult = bout.toString();
5557

retail/interactive-tutorials/src/test/java/search/SearchWithFacetSpecTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import java.util.concurrent.ExecutionException;
2727
import org.junit.After;
2828
import org.junit.Before;
29+
import org.junit.Ignore;
2930
import org.junit.Test;
3031
import org.junit.runner.RunWith;
3132
import org.junit.runners.JUnit4;
@@ -50,6 +51,7 @@ public void setUp() throws IOException, InterruptedException, ExecutionException
5051
}
5152

5253
@Test
54+
@Ignore("https://github.com/GoogleCloudPlatform/java-docs-samples/issues/10133")
5355
public void testOutput() {
5456
String outputResult = bout.toString();
5557

retail/interactive-tutorials/src/test/java/search/SearchWithFilteringTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import java.util.concurrent.ExecutionException;
2727
import org.junit.After;
2828
import org.junit.Before;
29+
import org.junit.Ignore;
2930
import org.junit.Test;
3031
import org.junit.runner.RunWith;
3132
import org.junit.runners.JUnit4;
@@ -51,6 +52,7 @@ public void setUp() throws IOException, InterruptedException, ExecutionException
5152
}
5253

5354
@Test
55+
@Ignore("https://github.com/GoogleCloudPlatform/java-docs-samples/issues/10133")
5456
public void testOutput() {
5557
String outputResult = bout.toString();
5658

0 commit comments

Comments
 (0)