forked from kubeflow/pipelines
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move integration test to sub dir (kubeflow#888)
* move integration test to sub dir * revert
- Loading branch information
1 parent
5d8c3c5
commit fb16914
Showing
10 changed files
with
104 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") | ||
|
||
go_test( | ||
name = "go_default_test", | ||
srcs = [ | ||
"cli_test.go", | ||
"experiment_api_test.go", | ||
"job_api_test.go", | ||
"pipeline_api_test.go", | ||
"run_api_test.go", | ||
], | ||
embed = [":go_default_library"], | ||
deps = [ | ||
"//backend/api:go_default_library", | ||
"//backend/api/go_http_client/experiment_client/experiment_service:go_default_library", | ||
"//backend/api/go_http_client/experiment_model:go_default_library", | ||
"//backend/api/go_http_client/job_client/job_service:go_default_library", | ||
"//backend/api/go_http_client/job_model:go_default_library", | ||
"//backend/api/go_http_client/pipeline_client/pipeline_service:go_default_library", | ||
"//backend/api/go_http_client/pipeline_model:go_default_library", | ||
"//backend/api/go_http_client/pipeline_upload_client/pipeline_upload_service:go_default_library", | ||
"//backend/api/go_http_client/run_client/run_service:go_default_library", | ||
"//backend/api/go_http_client/run_model:go_default_library", | ||
"//backend/src/cmd/ml/cmd:go_default_library", | ||
"//backend/src/common/client/api_server:go_default_library", | ||
"//backend/src/common/util:go_default_library", | ||
"//backend/test:go_default_library", | ||
"@com_github_argoproj_argo//pkg/apis/workflow/v1alpha1:go_default_library", | ||
"@com_github_ghodss_yaml//:go_default_library", | ||
"@com_github_golang_glog//:go_default_library", | ||
"@com_github_stretchr_testify//assert:go_default_library", | ||
"@com_github_stretchr_testify//suite:go_default_library", | ||
"@io_k8s_apimachinery//pkg/util/yaml:go_default_library", | ||
"@org_golang_google_grpc//:go_default_library", | ||
], | ||
) | ||
|
||
go_library( | ||
name = "go_default_library", | ||
srcs = ["flags.go"], | ||
importpath = "github.com/kubeflow/pipelines/backend/test/integration", | ||
visibility = ["//visibility:public"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package integration | ||
|
||
import ( | ||
"flag" | ||
"time" | ||
) | ||
|
||
var namespace = flag.String("namespace", "kubeflow", "The namespace ml pipeline deployed to") | ||
var initializeTimeout = flag.Duration("initializeTimeout", 2*time.Minute, "Duration to wait for test initialization") | ||
var runIntegrationTests = flag.Bool("runIntegrationTests", false, "Whether to also run integration tests that call the service") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.