dbqp should integrate with the randgen

Bug #723828 reported by Patrick Crews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
High
Patrick Crews
7.0
Fix Released
High
Patrick Crews

Bug Description

dbqp supports modes. Since a number of our tests are randgen-based, we should provide an easy means of executing them.
Need a custom executor + manager for tests

Related branches

Revision history for this message
Patrick Crews (patrick-crews) wrote :

Have added randgen mode:
If we provide a path to the randgen, we will execute tests (in .cnf files) from tests/randgen_tests.
The new tests are organized as dtr tests on a per-suite basis. All suites should be located in randgen_tests.

    ./dbqp --mode=randgen --randgen-path=/home/username/repos/randgen
    Setting --no-secure-file-priv=True for randgen mode...
    <snip>
    23 Feb 2011 11:42:43 INFO: Using testing mode: randgen
    <snip>
    23 Feb 2011 11:44:58 : ================================================================================
    23 Feb 2011 11:44:58 : TEST NAME [ RESULT ] TIME (ms)
    23 Feb 2011 11:44:58 : ================================================================================
    23 Feb 2011 11:44:58 : main.optimizer_subquery [ pass ] 134153
    23 Feb 2011 11:45:03 : main.outer_join [ pass ] 5136
    23 Feb 2011 11:45:06 : main.simple [ pass ] 2246
    23 Feb 2011 11:45:06 : ================================================================================
    23 Feb 2011 11:45:06 INFO: Test execution complete in 142 seconds
    23 Feb 2011 11:45:06 INFO: Summary report:
    23 Feb 2011 11:45:06 INFO: Executed 3/3 test cases, 100.00 percent
    23 Feb 2011 11:45:06 INFO: STATUS: PASS, 3/3 test cases, 100.00 percent executed
    23 Feb 2011 11:45:06 INFO: Spent 141 / 142 seconds on: TEST(s)
    23 Feb 2011 11:45:06 INFO: Test execution complete
    23 Feb 2011 11:45:06 INFO: Stopping all running servers...

Changed in drizzle:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Patrick Crews (patrick-crews)
milestone: none → 2011-02-28
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.