Bump github.com/go-sql-driver/mysql from 1.4.0 to 1.10.0
Bumps github.com/go-sql-driver/mysql from 1.4.0 to 1.10.0.
updated-dependencies:
- dependency-name: github.com/go-sql-driver/mysql dependency-version: 1.10.0 dependency-type: direct:production update-type: version-update:semver-minor …
Signed-off-by: dependabot[bot] support@github.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
cf-performance-tests
Performance tests for the Cloud Foundry API (Cloud Controller).
Goals
These tests are intended to:
Anti-goals
These tests are not intended to:
Test automation
The tests in the main branch are running regularly on a public concourse, which can be found here. The repo containing the concourse pipeline for bootstrapping of the CF foundation and running the tests, can be found here. The test results and generated charts can be found there as well.
Running tests
Tests in this repository are written using Ginkgo using the GOmega GMeasure testing package. This package allows the user to:
The test suite uses Viper for configuration of parameters such as API endpoint, credentials etc. Viper will look for a configuration file in both the
$HOMEdirectory and the working directory that tests are invoked from. See the Config struct for available configuration parameters.To run the tests, create a configuration file that Viper can find, e.g.
config.ymlin the project’s root folder:The
test_resource_prefixstring must match the prefix of the test resources names. Note that some performance tests delete lists of resources. Using atest_resource_prefixensures that only test resources are deleted.Then run:
Contributing
The goal of the tests is to have long term comparable results. Therefore, after creating a test suite, the test should never be changed again. Otherwise, the results will differ because of differences in the test setup and not because of changes in the codebase of the Cloud Contoller. If changes to the test are necessary a new version of the test suite must be created.
Before changing the implementation of an endpoint in the Cloud Controller with the goal of improving its performance, a test should be created, to be able to see the performance change in the tests.