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

..03-May-2022-

READMEH A D02-Feb-2021795 4430

README.ATRTH A D02-Feb-2021645 3526

atrt-analyze-result.shH A D02-Feb-20211.5 KiB4515

atrt-backtrace.shH A D02-Feb-20212.1 KiB8543

atrt-gather-result.shH A D02-Feb-20211.8 KiB6634

atrt-mysql-test-runH A D02-Feb-20211.5 KiB4213

atrt-mysqltestH A D02-Feb-20214 KiB11259

atrt-setup.shH A D02-Feb-20212 KiB6635

atrt-testBackupH A D02-Feb-20211.2 KiB303

atrt.hppH A D02-Feb-20218.2 KiB345239

autotest-boot.shH A D02-Feb-20217.3 KiB302183

autotest-run.shH A D02-Feb-20218.6 KiB372244

check-tests.shH A D02-Feb-20212.2 KiB9562

command.cppH A D02-Feb-20217.3 KiB290189

conf-blade08.cnfH A D02-Feb-2021643 3327

conf-dl145a.cnfH A D02-Feb-2021745 3831

conf-fimafeng08.cnfH A D02-Feb-2021918 4433

conf-fimafeng09.cnfH A D02-Feb-2021840 4233

conf-loki27.cnfH A D02-Feb-2021643 3327

conf-ndb07.cnfH A D02-Feb-2021996 4839

conf-ndbmaster.cnfH A D02-Feb-2021573 2822

conf-repl.cnfH A D02-Feb-2021447 2923

conf-techra29.cnfH A D02-Feb-2021840 4233

conf-test.cnfH A D02-Feb-2021479 2924

conf-tyr64.cnfH A D02-Feb-2021918 4433

conf-upgrade.cnfH A D02-Feb-2021574 3427

create_mtr_suites.plH A D02-Feb-20213.8 KiB14691

db.cppH A D02-Feb-202112.8 KiB519422

example-my.cnfH A D02-Feb-20212.3 KiB11795

example.confH A D02-Feb-2021455 119

files.cppH A D02-Feb-20219.7 KiB424349

main.cppH A D02-Feb-202135.5 KiB1,5231,266

make-config.shH A D02-Feb-20213.4 KiB12590

make-html-reports.shH A D02-Feb-20213.6 KiB216149

make-index.shH A D02-Feb-20215.2 KiB267139

mtr.cnfH A D02-Feb-2021489 2620

ndb-autotest.shH A D02-Feb-202110.3 KiB430255

setup.cppH A D02-Feb-202127.4 KiB1,047904

upgrade-boot.shH A D02-Feb-20215.8 KiB243130

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