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

..28-Aug-2018-

Makefile.amH A D28-Aug-20182.1 KiB5629

READMEH A D28-Aug-2018795 4430

README.ATRTH A D28-Aug-2018645 3526

atrt-analyze-result.shH A D28-Aug-2018991 317

atrt-clear-result.shH A D28-Aug-2018789 232

atrt-gather-result.shH A D28-Aug-2018914 359

atrt-mysql-test-runH A D28-Aug-20181.1 KiB3713

atrt-setup.shH A D28-Aug-2018846 253

atrt-testBackupH A D28-Aug-2018826 253

atrt.hppH A D28-Aug-20183.9 KiB162118

autotest-boot.shH A D28-Aug-20184.7 KiB206104

autotest-run.shH A D28-Aug-20186.3 KiB288172

conf-dl145a.cnfH A D28-Aug-2018439 2721

conf-ndbmaster.cnfH A D28-Aug-2018413 2419

conf-repl.cnfH A D28-Aug-2018450 2923

conf-test.cnfH A D28-Aug-2018438 2721

example-my.cnfH A D28-Aug-20182.3 KiB11795

example.confH A D28-Aug-2018465 119

files.cppH A D28-Aug-20188.8 KiB403339

main.cppH A D28-Aug-201828.7 KiB1,2501,033

make-config.shH A D28-Aug-20183 KiB12090

make-html-reports.shH A D28-Aug-20183.2 KiB211149

make-index.shH A D28-Aug-20184.8 KiB262139

ndb-autotest.shH A D28-Aug-20189.9 KiB425255

setup.cppH A D28-Aug-201825.5 KiB991863

upgrade-boot.shH A D28-Aug-20185.4 KiB236130

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