diff options
Diffstat (limited to 'mysql-test/README.stress')
-rw-r--r-- | mysql-test/README.stress | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/mysql-test/README.stress b/mysql-test/README.stress index 6be4e9a0..696f28c1 100644 --- a/mysql-test/README.stress +++ b/mysql-test/README.stress @@ -6,13 +6,12 @@ The stress script is designed to perform testing of the MySQL server in a multi-threaded environment. All functionality regarding stress testing is implemented in the -mysql-stress-test.pl script. +mariadb-stress-test.pl script. The stress script allows: - - To stress test the mysqltest binary test engine. - - To stress test the regular test suite and any additional test suites - (such as mysql-test-extra-5.0). + - To stress test the mariadb-test binary test engine. + - To stress test the regular test suite. - To specify files with lists of tests both for initialization of stress db and for further testing itself. - To define the number of threads to be concurrently used in testing. @@ -22,14 +21,14 @@ The stress script allows: - To get a readable log file that can be used for identification of errors that occur during testing. -There are two ways to run the mysql-stress-test.pl script: +There are two ways to run the mariadb-stress-test.pl script: - For most cases, it is enough to use the options below for starting - the stress test from the mysql-test-run wrapper. In this case, the + the stress test from the mariadb-test-run wrapper. In this case, the server is run automatically, all preparation steps are performed, and after that the stress test is started. - - In advanced case, you can run the mysql-stress-test.pl script directly. + - In advanced case, you can run the mariadb-stress-test.pl script directly. But this requires that you perform some preparation steps and to specify a bunch of options as well, so this invocation method may be a bit complicated. @@ -87,21 +86,21 @@ Examples 1. Example of a simple command line to start a stress test: - mysql-test-run --stress alias + mariadb-test-run --stress alias Runs a stress test with default values for number of threads and number of tests, with test 'alias' from suite 'main'. 2. Using in stress testing tests from other suites: - - mysql-test-run --stress --stress-threads=10 --stress-test-count=1000 \ + - mariadb-test-run --stress --stress-threads=10 --stress-test-count=1000 \ --stress-suite=example --stress-tests-file=testslist.txt Runs a stress test with 10 threads, executes 1000 tests by all threads, tests are used from suite 'example', the list of tests is taken from file 'testslist.txt' - - mysql-test-run --stress --stress-threads=10 --stress-test-count=1000 \ + - mariadb-test-run --stress --stress-threads=10 --stress-test-count=1000 \ --stress-suite=example sum_distinct Runs stress test with 10 threads, executes 1000 tests by all @@ -110,11 +109,11 @@ of tests, with test 'alias' from suite 'main'. 3. Debugging of issues found with stress test - Right now, the stress test is not fully integrated in mysql-test-run + Right now, the stress test is not fully integrated in mariadb-test-run and does not support the --gdb option. To debug issues found with the - stress test, you must start the MySQL server separately under a debugger + stress test, you must start the MariaDB server separately under a debugger and then run the stress test like this: - - mysql-test-run --extern --stress --stress-threads=10 \ + - mariadb-test-run --extern --stress --stress-threads=10 \ --stress-test-count=1000 --stress-suite=example \ sum_distinct |