pipelines/backend/test/integration
Yuan (Bob) Gong d3ef4bf39f
[Backend] Use service account passed from api object (#3650)
* Add service account field to run and job api objects

* Update description

* Fix field casing

* Use service account from api object

* Fix bug and add unit test

* Save patched workflow spec into db instead

* Save service account to db model

* Fix unit tests

* Fix integration tests

* Fix upgrade test

* Update upgrade_test.go
2020-05-05 23:23:08 -07:00
..
BUILD.bazel [Testing] KFP standalone test infra for upgradability (#1971) 2020-03-09 16:53:37 -07:00
README.md [Backend] Refactor integration tests, facilitate local testing (#3138) 2020-02-20 23:02:32 -08:00
experiment_api_test.go Add archive experiment feature in backend (#3359) 2020-04-16 07:31:09 +08:00
flags.go [Testing] KFP standalone test infra for upgradability (#1971) 2020-03-09 16:53:37 -07:00
job_api_test.go [Backend] Use service account passed from api object (#3650) 2020-05-05 23:23:08 -07:00
pipeline_api_test.go Add integration tests for version related methods (#3174) 2020-02-26 21:29:52 +08:00
pipeline_version_api_test.go Add integration tests for version related methods (#3174) 2020-02-26 21:29:52 +08:00
run_api_test.go [Backend] Use service account passed from api object (#3650) 2020-05-05 23:23:08 -07:00
run_tests_locally.sh [Backend] Refactor integration tests, facilitate local testing (#3138) 2020-02-20 23:02:32 -08:00
upgrade_test.go [Backend] Use service account passed from api object (#3650) 2020-05-05 23:23:08 -07:00
visualization_api_test.go [Backend] Refactor integration tests, facilitate local testing (#3138) 2020-02-20 23:02:32 -08:00

README.md

Api Server Integration Tests

WARNING

These integration tests will delete all the data in your KFP instance, please only use a test cluster to run these.

How to run

  1. Configure kubectl to connect to your kfp cluster.
  2. Run the following for all integration tests: NAMESPACE=<kfp-namespace> ./run_tests_locally.sh.
  3. Or run the following to select certain tests: NAMESPACE=<kfp-namespace> ./run_tests_locally.sh -testify.m Job. Reference: https://stackoverflow.com/a/43312451