~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to pb2gentest-new.pl

  • Committer: John H. Embretsen
  • Date: 2010-08-26 08:53:14 UTC
  • mto: (0.67.500 randgen-bugfixing)
  • mto: This revision was merged to the branch mainline in revision 2435.
  • Revision ID: john.embretsen@oracle.com-20100826085314-cri98eg37rpmfs42
pb2gentest: Increase queries for outer_join test, but lower duration (more coverage on faster machines while limiting load on slower ones).

Show diffs side-by-side

added added

removed removed

Lines of Context:
601
601
                --mysqld=--innodb
602
602
        ';
603
603
#
604
 
# opt: Optimizer tests, primarily used for 5.1 regression testing...
605
 
#
 
604
# opt: Optimizer tests in "nice mode", primarily used for regression testing (5.1 and beyond).
 
605
#      By "nice mode" we mean relatively short duration and/or num of queries and fixed seed.
606
606
#
607
607
} elsif ($test =~ m{^opt_access_exp}io ) {
608
608
    # More queries drastically increases runtime.
663
663
        --duration=1200
664
664
        ';
665
665
} elsif ($test =~ m{^outer_join}io ) {
666
 
    # Any larger queries value than 30k will cause a known/documented crash (5.1).
 
666
    # Any larger queries value than 30k used to cause a known/documented crash (5.1).
 
667
    # This seems to have been fixed by now.
667
668
    # Produces large and time consuming queries, so we use a larger than default
668
669
    # duration to allow even slower machines to do useful testing.
669
670
        $command = '
670
671
        --threads=1
671
 
        --queries=30K
 
672
        --queries=80K
672
673
        --gendata='.$conf.'/optimizer/outer_join.zz
673
674
        --grammar='.$conf.'/optimizer/outer_join.yy
674
 
        --duration=1200
 
675
        --duration=900
675
676
        ';
676
677
#
677
678
# End of optimizer tests.