Run the Transactd test

If the server Plugin and a client has been installed, you can run the test.

Each client contains the test program. Test will proceed after starting the MySQL/MariaDB server.

Execution of test program

Test script executes the tests in following order:

V3 test is the newly added test in Transactd Version 3.0.

Executing on Windows

  1. Move to the client directory.

    cd transactd-client-[compiler]-[platform]-[version]
    
  2. run test:

    TestClient.cmd
    

    Then you will be asked the host name first, please specify the host name of the Transactd server. "localhost" will be set automatically if you do not specify anything.

    Next, select the number of the compiler to test. Then tests and benchmarks will be executed continuously.

  3. run COM test (COM client only)

    TestClient_ATL.cmd
    

    Then you will be asked the host name first, please specify the host name of the Transactd server. "localhost" will be set automatically if you do not specify anything.

Executing on Linux

  1. Move to the client directory.

    cd transactd-client-cpp-linux-x86_64-[version]
    
  2. run test:

    ./exec_test_all.sh
    

    Then you will be asked the host name first, please specify the host name of the Transactd server. "localhost" will be set automatically if you do not specify anything.

Details of the test program

The executable files whose name starts with test_ is test program.

Please be sure to run test with only an instance. It will fail if test runs two or more instances. If others access to test database during test runs, fail to drop database and can't release database. In such a case, reboot a server or run following command in MySQL command line client to drop a database.

mysql>drop database test;

If -- show_progress=yes is passed, it shows progress like:

0%   10   20   30   40   50   60   70   80   90   100%
|----|----|----|----|----|----|----|----|----|----|
************

Using -- host=xxxxx can specify host. The test using Japanese database name, table name and field name. To pass this test, set character-set-server as cp932 or utf8 in my.cnf.

[mysqld]
character-set-server=utf8