Skip to content

Commit

Permalink
Remove TFJob and PyTorchJob CRDs from unit tests (#1609)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyvelich authored Aug 10, 2021
1 parent 6d54d4a commit a3e36b3
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ func TestMain(m *testing.M) {
ControlPlaneStopTimeout: controlPlaneStopTimeout,
CRDDirectoryPaths: []string{
filepath.Join("..", "..", "..", "manifests", "v1beta1", "components", "crd"),
filepath.Join("..", "..", "..", "test", "unit", "v1beta1", "crds"),
},
}
apis.AddToScheme(scheme.Scheme)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ func TestMain(m *testing.M) {
t := &envtest.Environment{
CRDDirectoryPaths: []string{
filepath.Join("..", "..", "..", "manifests", "v1beta1", "components", "crd"),
filepath.Join("..", "..", "..", "test", "unit", "v1beta1", "crds"),
},
}
apis.AddToScheme(scheme.Scheme)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ func TestMain(m *testing.M) {
ControlPlaneStopTimeout: controlPlaneStopTimeout,
CRDDirectoryPaths: []string{
filepath.Join("..", "..", "..", "manifests", "v1beta1", "components", "crd"),
filepath.Join("..", "..", "..", "test", "unit", "v1beta1", "crds"),
},
}
apis.AddToScheme(scheme.Scheme)
Expand Down
2 changes: 0 additions & 2 deletions pkg/webhook/v1beta1/pod/inject_webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ func TestGetMetricsCollectorArgs(t *testing.T) {
envTest := &envtest.Environment{
CRDDirectoryPaths: []string{
filepath.Join("..", "..", "..", "..", "manifests", "v1beta1", "components", "crd"),
filepath.Join("..", "..", "..", "..", "test", "unit", "v1beta1", "crds"),
},
}
apis.AddToScheme(scheme.Scheme)
Expand Down Expand Up @@ -656,7 +655,6 @@ func TestGetKatibJob(t *testing.T) {
envTest := &envtest.Environment{
CRDDirectoryPaths: []string{
filepath.Join("..", "..", "..", "..", "manifests", "v1beta1", "components", "crd"),
filepath.Join("..", "..", "..", "..", "test", "unit", "v1beta1", "crds"),
},
}
apis.AddToScheme(scheme.Scheme)
Expand Down
1 change: 0 additions & 1 deletion prow_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ workflows:
- test/e2e/v1beta1/*
- test/scripts/v1beta1/*
- test/suggestion/v1beta1/*
- test/unit/v1beta1/*
- test/workflows/*
- manifests/v1beta1/*
- scripts/v1beta1/*
Expand Down
12 changes: 0 additions & 12 deletions test/unit/v1beta1/crds/pytorchjob_v1.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions test/unit/v1beta1/crds/tfjob_v1.yaml

This file was deleted.

0 comments on commit a3e36b3

Please sign in to comment.