Skip to content

Commit be1855e

Browse files
committed
update sub
1 parent 4707c7c commit be1855e

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

concourse/scripts/pr.ent.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ mc rb ${minio_server_alias}/txlog-${bucket_name} --force
228228
set -e
229229

230230
echo "running mono_main,mono_basic"
231-
./mtr --clean-txlog-bucket-restart --suite=mono_main,mono_basic --testcase-timeout=30 --bootstrap-defaults-file=$WORKSPACE/eloqsql_pr/concourse/scripts/mtr_bootstrap.cnf
231+
./mtr --clean-txlog-bucket-restart --suite=mono_main,mono_basic --testcase-timeout=30 --max-connect-retries=1000 --bootstrap-defaults-file=$WORKSPACE/eloqsql_pr/concourse/scripts/mtr_bootstrap.cnf
232232

233233
# Clean up minio buckets
234234
echo "cleaning minio buckets"

mysql-test/mariadb-test-run.pl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ END
296296
our $opt_check_testcases= 1;
297297
my $opt_mark_progress;
298298
my $opt_max_connections;
299+
my $opt_max_connect_retries;
299300
our $opt_report_times= 0;
300301

301302
my $opt_sleep;
@@ -1211,6 +1212,7 @@ sub command_line_setup {
12111212
'stop-file=s' => \$opt_stop_file,
12121213
'stop-keep-alive=i' => \$opt_stop_keep_alive,
12131214
'max-connections=i' => \$opt_max_connections,
1215+
'max-connect-retries=i' => \$opt_max_connect_retries,
12141216
'report-times' => \$opt_report_times,
12151217
'result-file' => \$opt_resfile,
12161218
'stress=s' => \$opt_stress,
@@ -5739,6 +5741,10 @@ ($)
57395741
mtr_add_arg($args, "--max-connections=%d", $opt_max_connections);
57405742
}
57415743

5744+
if ( $opt_max_connect_retries ) {
5745+
mtr_add_arg($args, "--max-connect-retries=%d", $opt_max_connect_retries);
5746+
}
5747+
57425748
if ( $opt_embedded_server )
57435749
{
57445750

@@ -6106,6 +6112,7 @@ ($)
61066112
timediff With --timestamp, also print time passed since
61076113
*previous* test started
61086114
max-connections=N Max number of open connection to server in mysqltest
6115+
max-connect-retries=N Max connection attempts in mysqltest (default 500)
61096116
report-times Report how much time has been spent on different
61106117
phases of test execution.
61116118
stress=ARGS Run stress test, providing options to

0 commit comments

Comments
 (0)