mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
4e3b3bc835
1) update atrt to support mysqld 2) add example 3) add our current basic tests
43 lines
795 B
Text
43 lines
795 B
Text
run-test/README
|
|
|
|
This document describes how atrt works and how to use it.
|
|
|
|
atrt is a test program driver.
|
|
atrt supports fully distributed test and utilizes ndb_cpcd.
|
|
|
|
=================================
|
|
atrt has the following main loop:
|
|
|
|
/**
|
|
* Psuedo code for atrt
|
|
*/
|
|
read config file (default d.txt)
|
|
contact each ndb_cpcd
|
|
start each ndb_mgmd
|
|
connect to each ndb_mgmd
|
|
for each read(test case)
|
|
do
|
|
if previous test failed (or is first test)
|
|
stop each ndbd
|
|
start each ndbd
|
|
wait for ndbd to get started
|
|
|
|
start each mysqld
|
|
|
|
start each test prg
|
|
|
|
wait while all is running and max time not elapsed
|
|
|
|
stop each mysqld
|
|
|
|
stop each test prg
|
|
|
|
gather result
|
|
|
|
done
|
|
/**
|
|
* End of psuedo code
|
|
*/
|
|
|
|
=================================
|
|
|