mirror of https://github.com/databricks/cli.git
8fd793b605
## Changes - Remove TestMain from integration tests and related checks. - This fixes "go test" caching for integration tests. The test_main.go files were added in https://github.com/databricks/cli/pull/2009 to make sure integration tests are not run as part of go test ./.... We recommend running make test to run tests, which includes the packages to test (and excludes integration). ## Tests To test that caching works I ran a test twice: ``` + CLOUD_ENV=aws + go test --timeout 3h -v -run TestDefaultPython/3.9 ./integration/bundle/ … PASS ok github.com/databricks/cli/integration/bundle (cached) ``` |
||
---|---|---|
.. | ||
bundles | ||
testdata | ||
artifacts_test.go | ||
basic_test.go | ||
bind_resource_test.go | ||
clusters_test.go | ||
dashboards_test.go | ||
deploy_test.go | ||
deploy_then_remove_resources_test.go | ||
deploy_to_shared_test.go | ||
deployment_state_test.go | ||
destroy_test.go | ||
empty_bundle_test.go | ||
environments_test.go | ||
generate_job_test.go | ||
generate_pipeline_test.go | ||
helpers_test.go | ||
init_default_python_test.go | ||
init_test.go | ||
job_metadata_test.go | ||
local_state_staleness_test.go | ||
python_wheel_test.go | ||
spark_jar_test.go | ||
validate_test.go |