Пример #1
0
 def test_multiThread2Mix(self):
     test_cmd = "./gentest.pl --gendata=conf/drizzle/translog_drizzle.zz --grammar=conf/drizzle/translog_concurrent2.yy --Reporter=DrizzleSlavePlugin  --queries=50 --threads=3 --seed=time"
     retcode, output = execute_randgen(test_cmd, test_executor, servers)
     self.assertTrue(retcode==0, output)
Пример #2
0
 def test_subquerySemijoinNested1(self):
     test_cmd = "./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/subquery_semijoin_nested_drizzle.yy --queries=1000 --threads=3"
     retcode, output = execute_randgen(test_cmd, test_executor, servers)
     self.assertTrue(retcode==0, output)
Пример #3
0
 def test_singleThread3(self):
     test_cmd = "./gentest.pl --gendata=conf/drizzle/translog_drizzle.zz --grammar=conf/drizzle/translog_concurrent3.yy --Reporter=DrizzleInnoTrxLog  --queries=100 --threads=1"
     retcode, output = execute_randgen(test_cmd, test_executor, servers)
     self.assertTrue(retcode==0, output)
Пример #4
0
 def test_multiThread1CrashRecover(self):
     test_cmd = "./gentest.pl --gendata=conf/drizzle/translog_drizzle.zz --grammar=conf/drizzle/translog_concurrent1.yy --Reporter=DrizzleSlavePluginCrashRecover  --queries=1000 --threads=3"
     retcode, output = execute_randgen(test_cmd, test_executor, servers)
     self.assertTrue(retcode==0, output)
Пример #5
0
 def test_multiThread2(self):
     test_cmd = "./gentest.pl --gendata=conf/drizzle/translog_drizzle.zz --grammar=conf/drizzle/translog_concurrent2.yy --Reporter=DrizzleTransactionLog  --queries=75 --threads=3"
     retcode, output = execute_randgen(test_cmd, test_executor, servers)
     self.assertTrue(retcode==0, output)
Пример #6
0
 def test_limitCompare1(self):
     test_cmd = "./gentest.pl --gendata=conf/drizzle/many_indexes_drizzle.zz --grammar=conf/drizzle/many_indexes_drizzle.yy --threads=1 --queries=10 --Validators=None"
     retcode, output = execute_randgen(test_cmd, test_executor, servers)
     self.assertTrue(retcode==0, output)
Пример #7
0
 def test_outerJoinPortable1(self):
     test_cmd = "./gentest.pl --gendata=conf/drizzle/outer_join_drizzle.zz --grammar=conf/drizzle/outer_join_portable_drizzle.yy --queries=1000 --threads=3"
     retcode, output = execute_randgen(test_cmd, test_executor, servers)
     self.assertTrue(retcode==0, output)
Пример #8
0
 def test_drizzledump1(self):
     test_cmd = "./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/drizzledump.yy --Validator=Drizzledump --queries=50 --threads=1"
     retcode, output = execute_randgen(test_cmd, test_executor, servers)
     self.assertTrue(retcode==0, output)
Пример #9
0
 def test_repeatableRead1(self):
     test_cmd = "./gentest.pl --gendata=conf/transactions/transactions.zz --grammar=conf/transactions/repeatable_read.yy --validators=RepeatableRead --queries=1000 --threads=3"
     retcode, output = execute_randgen(test_cmd, test_executor, servers)
     self.assertTrue(retcode==0, output)
Пример #10
0
 def test_databaseIntegrityAfterRecovery1(self):
     test_cmd = "./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/drizzle.yy --reporters=DrizzleRecovery --queries=1000 --threads=3"
     retcode, output = execute_randgen(test_cmd, test_executor, servers)
     self.assertTrue(retcode==0, output)
Пример #11
0
 def test_collations1(self):
     test_cmd = "./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/collations_drizzle.yy --queries=1000 --threads=3"
     retcode, output = execute_randgen(test_cmd, test_executor, servers)
     self.assertTrue(retcode==0, output)