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

..03-May-2022-

READMEH A D11-Nov-2020795 4430

README.ATRTH A D11-Nov-2020645 3526

atrt-analyze-result.shH A D11-Nov-20202.4 KiB7030

atrt-backtrace.shH A D11-Nov-20202.1 KiB8543

atrt-gather-result.shH A D11-Nov-20202.2 KiB7534

atrt-mysql-test-runH A D11-Nov-20201.5 KiB4213

atrt-mysqltestH A D11-Nov-20204 KiB11259

atrt-setup.shH A D11-Nov-20202 KiB6635

atrt-testBackupH A D11-Nov-20201.2 KiB303

atrt.hppH A D11-Nov-20209 KiB375261

autotest-boot.shH A D11-Nov-20209 KiB344220

autotest-run.shH A D11-Nov-20208.7 KiB374246

check-tests.shH A D11-Nov-20202.2 KiB9562

command.cppH A D11-Nov-20208.6 KiB349237

conf-blade08.cnfH A D11-Nov-20201.8 KiB5851

conf-daily-perf.cnfH A D11-Nov-20201.4 KiB6958

conf-dl145a.cnfH A D11-Nov-2020740 3831

conf-fimafeng08.cnfH A D11-Nov-2020913 4433

conf-fimafeng09.cnfH A D11-Nov-2020835 4233

conf-loki27.cnfH A D11-Nov-2020638 3327

conf-mikael1.cnfH A D11-Nov-20202.2 KiB7464

conf-ndb07.cnfH A D11-Nov-20202.2 KiB7363

conf-ndbmaster.cnfH A D11-Nov-2020568 2822

conf-repl.cnfH A D11-Nov-2020442 2923

conf-techra29.cnfH A D11-Nov-2020835 4233

conf-test.cnfH A D11-Nov-2020474 2924

conf-tyr13.cnfH A D11-Nov-20202 KiB7061

conf-tyr64.cnfH A D11-Nov-2020913 4433

conf-upgrade.cnfH A D11-Nov-2020615 3730

create_mtr_suites.plH A D11-Nov-20203.8 KiB14691

db.cppH A D11-Nov-202012.9 KiB525427

example-my.cnfH A D11-Nov-20202.3 KiB11795

example.confH A D11-Nov-2020455 119

files.cppH A D11-Nov-202010.7 KiB467382

main.cppH A D11-Nov-202043 KiB1,8281,540

make-config.shH A D11-Nov-20203.4 KiB12590

make-html-reports.shH A D11-Nov-20203.6 KiB216149

make-index.shH A D11-Nov-20205.2 KiB267139

mtr.cnfH A D11-Nov-2020461 2318

ndb-autotest.shH A D11-Nov-202010.3 KiB430255

setup.cppH A D11-Nov-202028.7 KiB1,117960

upgrade-boot.shH A D11-Nov-20206 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