mariadb/storage/ndb/test/run-test
2014-02-17 18:19:04 +05:30
..
16node-tests.txt
atrt-analyze-result.sh
atrt-clear-result.sh
atrt-example.tgz
atrt-gather-result.sh
atrt-mysql-test-run
atrt-setup.sh
atrt-testBackup
atrt.hpp
ATRT_SETUP_README.txt
ATRT_USAGE_README.txt
autotest-boot.sh
autotest-run.sh
basic.txt
conf-dl145a.cnf
conf-ndbmaster.cnf
conf-repl.cnf
conf-test.cnf
daily-basic-tests.txt
daily-devel-tests.txt
example-my.cnf
example.conf
files.cpp
main.cpp
make-config.sh
make-html-reports.sh
make-index.sh
Makefile.am
ndb-autotest.sh
README
README.ATRT
setup.cpp
test-tests.txt
upgrade-boot.sh

run-test/README

This document describes how atrt works and how to use it.

atrt is a test program driver.
atrt supports fully distributed test and utilizes ndb_cpcd.

=================================
atrt has the following main loop:

/**
  * Pseudo code for atrt
  */
  read config file (default d.txt)
  contact each ndb_cpcd 
  start each ndb_mgmd
  connect to each ndb_mgmd
  for each read(test case)
  do
    if previous test failed (or is first test)
      stop each ndbd
      start each ndbd
      wait for ndbd to get started
     
    start each mysqld
     
    start each test prg

    wait while all is running and max time not elapsed

    stop each mysqld

    stop each test prg

    gather result

  done
/**
 * End of pseudo code
 */     

=================================