Skip to content

Commit 2e0f056

Browse files
authored
Updates: update combinations runner to remove old way to start server
* Updates: update combinations runner to remove old way to start server and add an example for trying example.cc
1 parent 79f8152 commit 2e0f056

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

randgen/combinations.pl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
my ($config_file, $basedir, $vardir, $trials, $duration, $grammar, $gendata,
6969
$seed, $testname, $xml_output, $report_xml_tt, $report_xml_tt_type,
7070
$report_xml_tt_dest, $force, $no_mask, $exhaustive, $start_combination, $debug, $noLog,
71-
$threads, $new, $servers, $noshuffle, $clean, $workdir);
71+
$threads, $servers, $noshuffle, $clean, $workdir);
7272

7373
my @basedirs=('','');
7474
my $combinations;
@@ -103,7 +103,6 @@
103103
'debug' => \$debug,
104104
'no-log' => \$noLog,
105105
'parallel=i' => \$threads,
106-
'new' => \$new,
107106
'servers=i' => \$servers,
108107
'no-shuffle' => \$noshuffle,
109108
'clean' => \$clean
@@ -273,7 +272,7 @@ sub doCombination {
273272
say("[$thread_id] Running $comment ".$trial_id."/".$trials);
274273
my $mask = $prng->uint16(0, 65535);
275274

276-
my $runall = $new?"runall-new.pl":"runall.pl";
275+
my $runall = "runall-new.pl";
277276

278277
my $command = "
279278
perl ".($Carp::Verbose?"-MCarp=verbose ":"").

randgen/conf/examples/example.cc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
$combinations = [
2+
[
3+
'
4+
--reporters=Deadlock,ErrorLog,Backtrace,Recovery,Shutdown
5+
'
6+
],
7+
[
8+
'--mysqld=--transaction-isolation=READ-COMMITTED',
9+
'--mysqld=--transaction-isolation=REPEATABLE-READ',
10+
],
11+
[
12+
'--rows=10',
13+
'--rows=10000'
14+
],
15+
[
16+
'--threads=1',
17+
'--threads=2'
18+
]
19+
]

0 commit comments

Comments
 (0)