Commit c8570c5c authored by unknown's avatar unknown
Browse files

Fix mysqlslap problems when running multiple tests in parallel, by setting

the mysqlslap lock directory to value of --tmpdir.


mysql-test/mysql-test-run.pl:
  Set mysqlslap --lock-directory to avoid conflicts between parallel tests.
parent d68fdc0e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2503,7 +2503,8 @@ sub run_mysqltest ($) {
  {
    $cmdline_mysqlslap= "$exe_mysqlslap -uroot " .
                         "--port=$master->[0]->{'path_myport'} " .
                         "--socket=$master->[0]->{'path_mysock'} --password=";
                         "--socket=$master->[0]->{'path_mysock'} --password= " .
                         "--lock-directory=$opt_tmpdir";
    if ( $opt_debug )
    {
      $cmdline_mysqlslap .=