* 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 |
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| README.md | ||
| experiment_api_test.go | ||
| flags.go | ||
| job_api_test.go | ||
| pipeline_api_test.go | ||
| pipeline_version_api_test.go | ||
| run_api_test.go | ||
| run_tests_locally.sh | ||
| upgrade_test.go | ||
| visualization_api_test.go | ||
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
- Configure kubectl to connect to your kfp cluster.
- Run the following for all integration tests:
NAMESPACE=<kfp-namespace> ./run_tests_locally.sh. - Or run the following to select certain tests:
NAMESPACE=<kfp-namespace> ./run_tests_locally.sh -testify.m Job. Reference: https://stackoverflow.com/a/43312451