* add postgres initialization * remove load balancer * go mod tidy * update license * license update for viewer * (test) disable controller license check * (test) disable persistence agence licence check * (test) disable scheduled workflow license check * (test) disable cacheserver license check * fix db config location * fix mysql support * test * test * no long set host address * address comments * address comments and enable license check * format * remove extra blank line * update licenses * cache server license * address comments * centralize error message * remove pv in postgres deployment |
||
|---|---|---|
| .. | ||
| README.md | ||
| db_test.go | ||
| experiment_api_test.go | ||
| flags.go | ||
| healthz_api_test.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
The default integration test will test the default Database, MySQL.
- 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
Run database tests with PostgreSQL
To run this test, you need to first deploy the PostgreSQL images on your Kubernetes cluster. For how to deploy, see instructions here.
When testing against postgreSQL, all integration tests with MySQL will be disabled. Use an argument postgres to run
test against a PostgreSQL database:
NAMESPACE=<kfp-namespace> ./run_tests_locally.sh postgres