Skip to content

Commit e835d26

Browse files
authored
chore(automl): ignore AutoML tests because the API is deprecated (#8634)
1 parent a99df4f commit e835d26

File tree

62 files changed

+124
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+124
-0
lines changed

automl/src/test/java/beta/automl/BatchPredictTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@
2727
import org.junit.After;
2828
import org.junit.Before;
2929
import org.junit.BeforeClass;
30+
import org.junit.Ignore;
3031
import org.junit.Rule;
3132
import org.junit.Test;
3233
import org.junit.runner.RunWith;
3334
import org.junit.runners.JUnit4;
3435

36+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3537
@RunWith(JUnit4.class)
3638
@SuppressWarnings("checkstyle:abbreviationaswordinname")
3739
public class BatchPredictTest {

automl/src/test/java/beta/automl/CancelOperationTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@
2828
import org.junit.After;
2929
import org.junit.Before;
3030
import org.junit.BeforeClass;
31+
import org.junit.Ignore;
3132
import org.junit.Rule;
3233
import org.junit.Test;
3334
import org.junit.runner.RunWith;
3435
import org.junit.runners.JUnit4;
3536

37+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3638
@RunWith(JUnit4.class)
3739
public class CancelOperationTest {
3840
@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(3);

automl/src/test/java/beta/automl/DeleteDatasetTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,13 @@
3232
import org.junit.After;
3333
import org.junit.Before;
3434
import org.junit.BeforeClass;
35+
import org.junit.Ignore;
3536
import org.junit.Rule;
3637
import org.junit.Test;
3738
import org.junit.runner.RunWith;
3839
import org.junit.runners.JUnit4;
3940

41+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
4042
@RunWith(JUnit4.class)
4143
@SuppressWarnings("checkstyle:abbreviationaswordinname")
4244
public class DeleteDatasetTest {

automl/src/test/java/beta/automl/DeleteModelTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@
2727
import org.junit.After;
2828
import org.junit.Before;
2929
import org.junit.BeforeClass;
30+
import org.junit.Ignore;
3031
import org.junit.Rule;
3132
import org.junit.Test;
3233
import org.junit.runner.RunWith;
3334
import org.junit.runners.JUnit4;
3435

36+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3537
@RunWith(JUnit4.class)
3638
public class DeleteModelTest {
3739
@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(3);

automl/src/test/java/beta/automl/DeployModelTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@
2727
import org.junit.After;
2828
import org.junit.Before;
2929
import org.junit.BeforeClass;
30+
import org.junit.Ignore;
3031
import org.junit.Rule;
3132
import org.junit.Test;
3233
import org.junit.runner.RunWith;
3334
import org.junit.runners.JUnit4;
3435

36+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3537
@RunWith(JUnit4.class)
3638
public class DeployModelTest {
3739
@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(3);

automl/src/test/java/beta/automl/GetModelEvaluationTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@
3030
import org.junit.After;
3131
import org.junit.Before;
3232
import org.junit.BeforeClass;
33+
import org.junit.Ignore;
3334
import org.junit.Rule;
3435
import org.junit.Test;
3536
import org.junit.runner.RunWith;
3637
import org.junit.runners.JUnit4;
3738

39+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3840
@RunWith(JUnit4.class)
3941
public class GetModelEvaluationTest {
4042
@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(3);

automl/src/test/java/beta/automl/GetModelTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@
2626
import org.junit.After;
2727
import org.junit.Before;
2828
import org.junit.BeforeClass;
29+
import org.junit.Ignore;
2930
import org.junit.Rule;
3031
import org.junit.Test;
3132
import org.junit.runner.RunWith;
3233
import org.junit.runners.JUnit4;
3334

35+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3436
@RunWith(JUnit4.class)
3537
public class GetModelTest {
3638
@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(3);

automl/src/test/java/beta/automl/GetOperationStatusTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@
3030
import org.junit.After;
3131
import org.junit.Before;
3232
import org.junit.BeforeClass;
33+
import org.junit.Ignore;
3334
import org.junit.Rule;
3435
import org.junit.Test;
3536
import org.junit.runner.RunWith;
3637
import org.junit.runners.JUnit4;
3738

39+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3840
@RunWith(JUnit4.class)
3941
public class GetOperationStatusTest {
4042
@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(3);

automl/src/test/java/beta/automl/ImportDatasetTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@
2929
import org.junit.After;
3030
import org.junit.Before;
3131
import org.junit.BeforeClass;
32+
import org.junit.Ignore;
3233
import org.junit.Rule;
3334
import org.junit.Test;
3435
import org.junit.runner.RunWith;
3536
import org.junit.runners.JUnit4;
3637

38+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3739
@RunWith(JUnit4.class)
3840
@SuppressWarnings("checkstyle:abbreviationaswordinname")
3941
public class ImportDatasetTest {

automl/src/test/java/beta/automl/ListDatasetsTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@
2626
import org.junit.After;
2727
import org.junit.Before;
2828
import org.junit.BeforeClass;
29+
import org.junit.Ignore;
2930
import org.junit.Rule;
3031
import org.junit.Test;
3132
import org.junit.runner.RunWith;
3233
import org.junit.runners.JUnit4;
3334

35+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3436
@RunWith(JUnit4.class)
3537
@SuppressWarnings("checkstyle:abbreviationaswordinname")
3638
public class ListDatasetsTest {

automl/src/test/java/beta/automl/ListModelEvaluationsTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@
2626
import org.junit.After;
2727
import org.junit.Before;
2828
import org.junit.BeforeClass;
29+
import org.junit.Ignore;
2930
import org.junit.Rule;
3031
import org.junit.Test;
3132
import org.junit.runner.RunWith;
3233
import org.junit.runners.JUnit4;
3334

35+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3436
@RunWith(JUnit4.class)
3537
public class ListModelEvaluationsTest {
3638
@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(3);

automl/src/test/java/beta/automl/ListModelsTest.java

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
import org.junit.runner.RunWith;
3333
import org.junit.runners.JUnit4;
3434

35+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3536
@RunWith(JUnit4.class)
3637
public class ListModelsTest {
3738
@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(3);

automl/src/test/java/beta/automl/SetEndpointIT.java

+2
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@
2626
import org.junit.After;
2727
import org.junit.Before;
2828
import org.junit.BeforeClass;
29+
import org.junit.Ignore;
2930
import org.junit.Rule;
3031
import org.junit.Test;
3132
import org.junit.runner.RunWith;
3233
import org.junit.runners.JUnit4;
3334

3435
/** Tests for Automl Set Endpoint */
36+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3537
@RunWith(JUnit4.class)
3638
@SuppressWarnings("checkstyle:abbreviationaswordinname")
3739
public class SetEndpointIT {

automl/src/test/java/beta/automl/TablesBatchPredictBigQueryTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@
2727
import org.junit.After;
2828
import org.junit.Before;
2929
import org.junit.BeforeClass;
30+
import org.junit.Ignore;
3031
import org.junit.Rule;
3132
import org.junit.Test;
3233
import org.junit.runner.RunWith;
3334
import org.junit.runners.JUnit4;
3435

36+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3537
@RunWith(JUnit4.class)
3638
@SuppressWarnings("checkstyle:abbreviationaswordinname")
3739
public class TablesBatchPredictBigQueryTest {

automl/src/test/java/beta/automl/TablesCreateDatasetTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@
2828
import org.junit.After;
2929
import org.junit.Before;
3030
import org.junit.BeforeClass;
31+
import org.junit.Ignore;
3132
import org.junit.Rule;
3233
import org.junit.Test;
3334
import org.junit.runner.RunWith;
3435
import org.junit.runners.JUnit4;
3536

37+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3638
@RunWith(JUnit4.class)
3739
@SuppressWarnings("checkstyle:abbreviationaswordinname")
3840
public class TablesCreateDatasetTest {

automl/src/test/java/beta/automl/TablesCreateModelTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@
2828
import org.junit.After;
2929
import org.junit.Before;
3030
import org.junit.BeforeClass;
31+
import org.junit.Ignore;
3132
import org.junit.Rule;
3233
import org.junit.Test;
3334
import org.junit.runner.RunWith;
3435
import org.junit.runners.JUnit4;
3536

37+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3638
@RunWith(JUnit4.class)
3739
@SuppressWarnings("checkstyle:abbreviationaswordinname")
3840
public class TablesCreateModelTest {

automl/src/test/java/beta/automl/TablesGetModelTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@
2626
import org.junit.After;
2727
import org.junit.Before;
2828
import org.junit.BeforeClass;
29+
import org.junit.Ignore;
2930
import org.junit.Rule;
3031
import org.junit.Test;
3132
import org.junit.runner.RunWith;
3233
import org.junit.runners.JUnit4;
3334

35+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3436
@RunWith(JUnit4.class)
3537
public class TablesGetModelTest {
3638
@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(3);

automl/src/test/java/beta/automl/TablesImportDatasetTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@
2727
import org.junit.After;
2828
import org.junit.Before;
2929
import org.junit.BeforeClass;
30+
import org.junit.Ignore;
3031
import org.junit.Rule;
3132
import org.junit.Test;
3233
import org.junit.runner.RunWith;
3334
import org.junit.runners.JUnit4;
3435

36+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3537
@RunWith(JUnit4.class)
3638
@SuppressWarnings("checkstyle:abbreviationaswordinname")
3739
public class TablesImportDatasetTest {

automl/src/test/java/beta/automl/TablesPredictTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@
3434
import org.junit.After;
3535
import org.junit.Before;
3636
import org.junit.BeforeClass;
37+
import org.junit.Ignore;
3738
import org.junit.Rule;
3839
import org.junit.Test;
3940
import org.junit.runner.RunWith;
4041
import org.junit.runners.JUnit4;
4142

43+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
4244
@RunWith(JUnit4.class)
4345
@SuppressWarnings("checkstyle:abbreviationaswordinname")
4446
public class TablesPredictTest {

automl/src/test/java/beta/automl/UndeployModelTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@
2727
import org.junit.After;
2828
import org.junit.Before;
2929
import org.junit.BeforeClass;
30+
import org.junit.Ignore;
3031
import org.junit.Rule;
3132
import org.junit.Test;
3233
import org.junit.runner.RunWith;
3334
import org.junit.runners.JUnit4;
3435

36+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3537
@RunWith(JUnit4.class)
3638
public class UndeployModelTest {
3739
@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(3);

automl/src/test/java/beta/automl/VideoClassificationCreateDatasetTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@
3030
import org.junit.After;
3131
import org.junit.Before;
3232
import org.junit.BeforeClass;
33+
import org.junit.Ignore;
3334
import org.junit.Rule;
3435
import org.junit.Test;
3536
import org.junit.runner.RunWith;
3637
import org.junit.runners.JUnit4;
3738

39+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3840
@RunWith(JUnit4.class)
3941
@SuppressWarnings("checkstyle:abbreviationaswordinname")
4042
public class VideoClassificationCreateDatasetTest {

automl/src/test/java/beta/automl/VideoClassificationCreateModelTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@
2828
import org.junit.After;
2929
import org.junit.Before;
3030
import org.junit.BeforeClass;
31+
import org.junit.Ignore;
3132
import org.junit.Rule;
3233
import org.junit.Test;
3334
import org.junit.runner.RunWith;
3435
import org.junit.runners.JUnit4;
3536

37+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3638
@RunWith(JUnit4.class)
3739
@SuppressWarnings("checkstyle:abbreviationaswordinname")
3840
public class VideoClassificationCreateModelTest {

automl/src/test/java/beta/automl/VideoObjectTrackingCreateDatasetTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@
3030
import org.junit.After;
3131
import org.junit.Before;
3232
import org.junit.BeforeClass;
33+
import org.junit.Ignore;
3334
import org.junit.Rule;
3435
import org.junit.Test;
3536
import org.junit.runner.RunWith;
3637
import org.junit.runners.JUnit4;
3738

39+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3840
@RunWith(JUnit4.class)
3941
@SuppressWarnings("checkstyle:abbreviationaswordinname")
4042
public class VideoObjectTrackingCreateDatasetTest {

automl/src/test/java/beta/automl/VideoObjectTrackingCreateModelTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@
2828
import org.junit.After;
2929
import org.junit.Before;
3030
import org.junit.BeforeClass;
31+
import org.junit.Ignore;
3132
import org.junit.Rule;
3233
import org.junit.Test;
3334
import org.junit.runner.RunWith;
3435
import org.junit.runners.JUnit4;
3536

37+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3638
@RunWith(JUnit4.class)
3739
@SuppressWarnings("checkstyle:abbreviationaswordinname")
3840
public class VideoObjectTrackingCreateModelTest {

automl/src/test/java/com/example/automl/BatchPredictTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@
2727
import org.junit.After;
2828
import org.junit.Before;
2929
import org.junit.BeforeClass;
30+
import org.junit.Ignore;
3031
import org.junit.Rule;
3132
import org.junit.Test;
3233
import org.junit.runner.RunWith;
3334
import org.junit.runners.JUnit4;
3435

36+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3537
@RunWith(JUnit4.class)
3638
@SuppressWarnings("checkstyle:abbreviationaswordinname")
3739
public class BatchPredictTest {

automl/src/test/java/com/example/automl/DeleteDatasetTest.java

+3
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,14 @@
2828
import org.junit.After;
2929
import org.junit.Before;
3030
import org.junit.BeforeClass;
31+
import org.junit.Ignore;
3132
import org.junit.Rule;
3233
import org.junit.Test;
3334
import org.junit.runner.RunWith;
3435
import org.junit.runners.JUnit4;
3536

37+
38+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3639
@RunWith(JUnit4.class)
3740
@SuppressWarnings("checkstyle:abbreviationaswordinname")
3841
public class DeleteDatasetTest {

automl/src/test/java/com/example/automl/DeleteModelTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@
2727
import org.junit.After;
2828
import org.junit.Before;
2929
import org.junit.BeforeClass;
30+
import org.junit.Ignore;
3031
import org.junit.Rule;
3132
import org.junit.Test;
3233
import org.junit.runner.RunWith;
3334
import org.junit.runners.JUnit4;
3435

36+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3537
@RunWith(JUnit4.class)
3638
public class DeleteModelTest {
3739
@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(3);

automl/src/test/java/com/example/automl/DeployModelTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@
2727
import org.junit.After;
2828
import org.junit.Before;
2929
import org.junit.BeforeClass;
30+
import org.junit.Ignore;
3031
import org.junit.Rule;
3132
import org.junit.Test;
3233
import org.junit.runner.RunWith;
3334
import org.junit.runners.JUnit4;
3435

36+
@Ignore("This test is ignored because the legacy version of AutoML API is deprecated")
3537
@RunWith(JUnit4.class)
3638
public class DeployModelTest {
3739
@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(3);

0 commit comments

Comments
 (0)