• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

READMEH A D13-Dec-2021795 4430

README.ATRTH A D13-Dec-2021645 3526

atrt-analyze-result.shH A D13-Dec-20212.4 KiB7030

atrt-backtrace.shH A D13-Dec-20212.1 KiB8543

atrt-gather-result.shH A D13-Dec-20212.2 KiB7534

atrt-mysql-test-runH A D13-Dec-20211.5 KiB4213

atrt-mysqltestH A D13-Dec-20214 KiB11259

atrt-setup.shH A D13-Dec-20211.9 KiB6635

atrt-testBackupH A D13-Dec-20211.2 KiB303

atrt.hppH A D13-Dec-20219 KiB375261

autotest-boot.shH A D13-Dec-20219 KiB344220

autotest-run.shH A D13-Dec-20218.7 KiB374246

check-tests.shH A D13-Dec-20212.2 KiB9562

command.cppH A D13-Dec-20218.6 KiB349237

conf-blade08.cnfH A D13-Dec-20211.8 KiB5851

conf-daily-perf.cnfH A D13-Dec-20211.4 KiB6958

conf-dl145a.cnfH A D13-Dec-2021740 3831

conf-fimafeng08.cnfH A D13-Dec-2021913 4433

conf-fimafeng09.cnfH A D13-Dec-2021835 4233

conf-loki27.cnfH A D13-Dec-2021638 3327

conf-mikael1.cnfH A D13-Dec-20212.2 KiB7464

conf-ndb07.cnfH A D13-Dec-20212.2 KiB7363

conf-ndbmaster.cnfH A D13-Dec-2021568 2822

conf-repl.cnfH A D13-Dec-2021442 2923

conf-techra29.cnfH A D13-Dec-2021835 4233

conf-test.cnfH A D13-Dec-2021474 2924

conf-tyr13.cnfH A D13-Dec-20212 KiB7061

conf-tyr64.cnfH A D13-Dec-2021913 4433

conf-upgrade.cnfH A D13-Dec-2021615 3730

create_mtr_suites.plH A D13-Dec-20213.8 KiB14691

db.cppH A D13-Dec-202112.9 KiB525427

example-my.cnfH A D13-Dec-20212.3 KiB11795

example.confH A D13-Dec-2021455 119

files.cppH A D13-Dec-202110.7 KiB467382

main.cppH A D13-Dec-202143 KiB1,8281,540

make-config.shH A D13-Dec-20213.4 KiB12590

make-html-reports.shH A D13-Dec-20213.6 KiB216149

make-index.shH A D13-Dec-20215.2 KiB267139

mtr.cnfH A D13-Dec-2021461 2318

ndb-autotest.shH A D13-Dec-202110.3 KiB430255

setup.cppH A D13-Dec-202128.6 KiB1,117960

upgrade-boot.shH A D13-Dec-20216 KiB253140

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