1 AUTHOR = "markwkm <markwkm (a] us...>" 2 NAME = "dbt2" 3 TEST_CLASS = "kernel" 4 TEST_CATEGORY = "Functional" 5 TEST_TYPE = "client" 6 DOC = """ 7 Dbt-2 is a fair-use implementation of the TPC-C benchmark. The test is 8 currently hardcoded to use PostgreSQL but the kit also supports MySQL. 9 """ 10 TIME="SHORT" 11 12 job.run_test('dbt2', db_type='pgsql', args='-w 1 -c 20 -d 1800 -s 100 -n -z "autotest pgsql"', tag='pgsql') 13 job.run_test('dbt2', db_type='pgpool', args='-w 1 -c 20 -d 1800 -s 100 -n -z "autotest pgpool"', tag='pgpool') 14 job.run_test('dbt2', db_type='mysql', args='-w 1 -c 20 -d 1800 -s 100 -n -z "autotest mysql"', tag='mysql') 15