Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
README | H A D | 09-Nov-2021 | 795 | 44 | 30 | |
README.ATRT | H A D | 09-Nov-2021 | 645 | 35 | 26 | |
atrt-analyze-result.sh | H A D | 09-Nov-2021 | 2.4 KiB | 70 | 30 | |
atrt-backtrace.sh | H A D | 09-Nov-2021 | 2.1 KiB | 85 | 43 | |
atrt-gather-result.sh | H A D | 09-Nov-2021 | 2.2 KiB | 75 | 34 | |
atrt-mysql-test-run | H A D | 09-Nov-2021 | 1.5 KiB | 42 | 13 | |
atrt-mysqltest | H A D | 09-Nov-2021 | 4 KiB | 112 | 59 | |
atrt-setup.sh | H A D | 09-Nov-2021 | 1.9 KiB | 66 | 35 | |
atrt-testBackup | H A D | 09-Nov-2021 | 1.2 KiB | 30 | 3 | |
atrt.hpp | H A D | 09-Nov-2021 | 9 KiB | 375 | 261 | |
autotest-boot.sh | H A D | 09-Nov-2021 | 9 KiB | 344 | 220 | |
autotest-run.sh | H A D | 09-Nov-2021 | 8.7 KiB | 374 | 246 | |
check-tests.sh | H A D | 09-Nov-2021 | 2.2 KiB | 95 | 62 | |
command.cpp | H A D | 09-Nov-2021 | 8.6 KiB | 349 | 237 | |
conf-blade08.cnf | H A D | 09-Nov-2021 | 1.8 KiB | 58 | 51 | |
conf-daily-perf.cnf | H A D | 09-Nov-2021 | 1.4 KiB | 69 | 58 | |
conf-dl145a.cnf | H A D | 09-Nov-2021 | 740 | 38 | 31 | |
conf-fimafeng08.cnf | H A D | 09-Nov-2021 | 913 | 44 | 33 | |
conf-fimafeng09.cnf | H A D | 09-Nov-2021 | 835 | 42 | 33 | |
conf-loki27.cnf | H A D | 09-Nov-2021 | 638 | 33 | 27 | |
conf-mikael1.cnf | H A D | 09-Nov-2021 | 2.2 KiB | 74 | 64 | |
conf-ndb07.cnf | H A D | 09-Nov-2021 | 2.2 KiB | 73 | 63 | |
conf-ndbmaster.cnf | H A D | 09-Nov-2021 | 568 | 28 | 22 | |
conf-repl.cnf | H A D | 09-Nov-2021 | 442 | 29 | 23 | |
conf-techra29.cnf | H A D | 09-Nov-2021 | 835 | 42 | 33 | |
conf-test.cnf | H A D | 09-Nov-2021 | 474 | 29 | 24 | |
conf-tyr13.cnf | H A D | 09-Nov-2021 | 2 KiB | 70 | 61 | |
conf-tyr64.cnf | H A D | 09-Nov-2021 | 913 | 44 | 33 | |
conf-upgrade.cnf | H A D | 09-Nov-2021 | 615 | 37 | 30 | |
create_mtr_suites.pl | H A D | 09-Nov-2021 | 3.8 KiB | 146 | 91 | |
db.cpp | H A D | 09-Nov-2021 | 12.9 KiB | 525 | 427 | |
example-my.cnf | H A D | 09-Nov-2021 | 2.3 KiB | 117 | 95 | |
example.conf | H A D | 09-Nov-2021 | 455 | 11 | 9 | |
files.cpp | H A D | 09-Nov-2021 | 10.7 KiB | 467 | 382 | |
main.cpp | H A D | 09-Nov-2021 | 43 KiB | 1,828 | 1,540 | |
make-config.sh | H A D | 09-Nov-2021 | 3.4 KiB | 125 | 90 | |
make-html-reports.sh | H A D | 09-Nov-2021 | 3.6 KiB | 216 | 149 | |
make-index.sh | H A D | 09-Nov-2021 | 5.2 KiB | 267 | 139 | |
mtr.cnf | H A D | 09-Nov-2021 | 461 | 23 | 18 | |
ndb-autotest.sh | H A D | 09-Nov-2021 | 10.3 KiB | 430 | 255 | |
setup.cpp | H A D | 09-Nov-2021 | 28.6 KiB | 1,117 | 960 | |
upgrade-boot.sh | H A D | 09-Nov-2021 | 6 KiB | 253 | 140 |
README
1run-test/README 2 3This document describes how atrt works and how to use it. 4 5atrt is a test program driver. 6atrt supports fully distributed test and utilizes ndb_cpcd. 7 8================================= 9atrt has the following main loop: 10 11/** 12 * Pseudo code for atrt 13 */ 14 read config file (default d.txt) 15 contact each ndb_cpcd 16 start each ndb_mgmd 17 connect to each ndb_mgmd 18 for each read(test case) 19 do 20 if previous test failed (or is first test) 21 stop each ndbd 22 start each ndbd 23 wait for ndbd to get started 24 25 start each mysqld 26 27 start each test prg 28 29 wait while all is running and max time not elapsed 30 31 stop each mysqld 32 33 stop each test prg 34 35 gather result 36 37 done 38/** 39 * End of pseudo code 40 */ 41 42================================= 43 44
README.ATRT
1 2!-- install ndb_cpcd 3!-- many steps? future RPM 4 5!-- deploy binaries and libraries to hosts, rsync 6% export DEPLOY_DST="mc05:/space/tomas/keso" 7% ssh mc05 mkdir /space/tomas/keso 8% export RSYNC_RSH=ssh 9% make 10 11% mkdir -p /tmp/atrt-run-2-node 12% cd /tmp/atrt-run-2-node 13% cat > d.txt 14baseport: 9321 15basedir: /space/tomas/keso 16mgm: localhost 17ndb: localhost localhost 18api: localhost 19% cat > default.txt 20[DB DEFAULT] 21NoOfReplicas: 2 22% bin/make-config.sh -m d.txt -t default.txt -d . 23 24% atrt -v -v 25test_event -r 5 T1 26 27 28!-- check output 29% tail -f /space/tomas/keso/run/4.ndb_api/log.out 30 31 32!-- check processes 33% export NDB_CPCC_HOSTS="mc05" 34% ndb_cpcc 35