Skip to content
  • Magnus Blåudd's avatar
    b96785c6
    Enable the ndbcluster test suite for MySQL Server with NDB · b96785c6
    Magnus Blåudd authored
     - Change the current logic in mtr.pl which detects and enables testing
       of ndbcluster to automatically turn on testing of the 'ndbcluster'
       suite when it's been detected that
      1) This is MySQL Server(no ndb-Y.Y.Y in version)
      2) ndbcluster is supported(i.e MySQL Server compiled with NDB).
      3) Full ndbcluster testing has not been requested(with --ndb|--include-ndbcluster)
      4) ndbcluster has not been skipped(with --skip-ndb[cluster])
    
     - Add the new 'ndbcluster' suite and implement basic.test
    
     - Intention of the 'ndbcluster' suite is the perform basic integration check
       of MySQL Server compiled with NDB.
    
     Example test of MySQL Server with NDB:
      $bld_trunk_with_ndb> cmake ../trunk -DWITH_NDBCLUSTER_STORAGE_ENGINE=1
      $bld_trunk_with_ndb> make
      $bld_trunk_with_ndb/mysql-test> ./mtr
       <snip>
      Checking supported features...
      - enabling ndbcluster(for integration checks)
      <snip>
      ndbcluster.basic                            [ pass ]
      <snip>
    
      Alternatively:
    
      $bld_trunk_with_ndb/mysql-test> ./mtr basic
      $bld_trunk_with_ndb/mysql-test> ./mtr ndbcluster.basic
      $bld_trunk_with_ndb/mysql-test> ./mtr --ndb
       ^run all ndb* suites in addition to the new 'ndbcluster'
    b96785c6
    Enable the ndbcluster test suite for MySQL Server with NDB
    Magnus Blåudd authored
     - Change the current logic in mtr.pl which detects and enables testing
       of ndbcluster to automatically turn on testing of the 'ndbcluster'
       suite when it's been detected that
      1) This is MySQL Server(no ndb-Y.Y.Y in version)
      2) ndbcluster is supported(i.e MySQL Server compiled with NDB).
      3) Full ndbcluster testing has not been requested(with --ndb|--include-ndbcluster)
      4) ndbcluster has not been skipped(with --skip-ndb[cluster])
    
     - Add the new 'ndbcluster' suite and implement basic.test
    
     - Intention of the 'ndbcluster' suite is the perform basic integration check
       of MySQL Server compiled with NDB.
    
     Example test of MySQL Server with NDB:
      $bld_trunk_with_ndb> cmake ../trunk -DWITH_NDBCLUSTER_STORAGE_ENGINE=1
      $bld_trunk_with_ndb> make
      $bld_trunk_with_ndb/mysql-test> ./mtr
       <snip>
      Checking supported features...
      - enabling ndbcluster(for integration checks)
      <snip>
      ndbcluster.basic                            [ pass ]
      <snip>
    
      Alternatively:
    
      $bld_trunk_with_ndb/mysql-test> ./mtr basic
      $bld_trunk_with_ndb/mysql-test> ./mtr ndbcluster.basic
      $bld_trunk_with_ndb/mysql-test> ./mtr --ndb
       ^run all ndb* suites in addition to the new 'ndbcluster'
Loading