mariadb/storage/ndb/test/run-test
Alexander Nozdrin 091bcacc79 Another incarnation of the patch for Bug#30708
(make relies GNU extentions). The patch was partially
backport from 6.0.

Original comment:
bug#30708: make relies GNU extensions.  Now that we no longer use
BitKeeper we can safely remove the SCCS handling with no loss of
functionality.
2010-05-19 17:00:23 +04:00
..
16node-tests.txt Changes to create storage directory for storage engines. 2005-04-26 18:19:54 -07:00
atrt-analyze-result.sh Changes to create storage directory for storage engines. 2005-04-26 18:19:54 -07:00
atrt-clear-result.sh Changes to create storage directory for storage engines. 2005-04-26 18:19:54 -07:00
atrt-example.tgz Changes to create storage directory for storage engines. 2005-04-26 18:19:54 -07:00
atrt-gather-result.sh ndb - atrt minor fixes 2007-02-16 21:09:38 +01:00
atrt-mysql-test-run Changes to create storage directory for storage engines. 2005-04-26 18:19:54 -07:00
atrt-setup.sh Changes to create storage directory for storage engines. 2005-04-26 18:19:54 -07:00
atrt-testBackup Changes to create storage directory for storage engines. 2005-04-26 18:19:54 -07:00
atrt.hpp mysql-test/r/partition.result 2008-11-25 03:04:58 +01:00
ATRT_SETUP_README.txt ATRT documentation 2006-03-27 14:59:19 +04:00
ATRT_USAGE_README.txt ATRT documentation 2006-03-27 14:59:19 +04:00
autotest-boot.sh ndb autotest 2007-08-31 16:12:51 +02:00
autotest-run.sh ndb - autotest 2007-08-31 16:55:59 +02:00
basic.txt Changes to create storage directory for storage engines. 2005-04-26 18:19:54 -07:00
conf-dl145a.cnf ndb - 2007-06-04 10:32:32 +02:00
conf-ndbmaster.cnf ndb - new atrt 2007-02-13 02:38:54 +01:00
conf-repl.cnf ndb - new atrt 2007-02-13 02:38:54 +01:00
conf-test.cnf ndb autotest 2007-08-31 16:12:51 +02:00
daily-basic-tests.txt remove mysql-test-run from autotest 2008-02-09 07:26:34 +01:00
daily-devel-tests.txt ndb - autotest 2007-03-19 11:13:10 +01:00
example-my.cnf ndb - new atrt 2007-02-13 02:38:54 +01:00
example.conf Changes to create storage directory for storage engines. 2005-04-26 18:19:54 -07:00
files.cpp fix atrt mysql_install_db, make sure no extra my.cnf is read 2007-04-02 08:39:58 +02:00
main.cpp Bug : Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 2007-08-01 09:24:01 +02:00
make-config.sh fix error handling if thread creation fails in ndbd 2005-11-22 18:05:10 +01:00
make-html-reports.sh Changes to create storage directory for storage engines. 2005-04-26 18:19:54 -07:00
make-index.sh Changes to create storage directory for storage engines. 2005-04-26 18:19:54 -07:00
Makefile.am Another incarnation of the patch for Bug#30708 2010-05-19 17:00:23 +04:00
ndb-autotest.sh Many files: 2006-08-21 15:34:29 +02:00
README Patch for push of wl1354 Partitioning 2005-07-18 13:31:02 +02:00
README.ATRT Changes to create storage directory for storage engines. 2005-04-26 18:19:54 -07:00
setup.cpp Backport BUG#25192 Using relay-log and relay-log-index without values produces unexpected results. 2009-10-02 16:25:53 +08:00
test-tests.txt ndb - new atrt 2007-02-13 02:38:54 +01:00
upgrade-boot.sh ndb autotest 2007-08-31 16:12:51 +02:00

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
 */     

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