Skip to content

Commit

Permalink
[upstream] add more timeout for asandebug shutdown
Browse files Browse the repository at this point in the history
Summary:
During mysqld shutdown, asandebug will detect memory leak which take long time and if it can't finish in time, mysqld will be killed by mysqltest_safe_process.

similar to vangrind, add more timeout for asan build during shutdown.

Reviewed By: Pushapgl

Differential Revision: D28860932
  • Loading branch information
luqun authored and Herman Lee committed Oct 18, 2023
1 parent 8a2f320 commit e0cb4c6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mysql-test/include/rpl_stop_server.inc
Expand Up @@ -65,6 +65,14 @@ if ($VALGRIND_TEST)
--expr $ss_timeout= $ss_timeout * $timeout_multiplier
}

if ($ASAN_OPTIONS)
{
if(!$VALGRIND_TEST)
{
--expr $ss_timeout= $ss_timeout * $timeout_multiplier
}
}

let $have_sparc = `select convert(@@version_compile_machine using latin1) IN ('sparc')`;
if ($have_sparc)
{
Expand Down

0 comments on commit e0cb4c6

Please sign in to comment.