mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
ndb - autotest
Add shutdown options (so far only SIGKILL), so that there won't be any strace mysqld threads ndb/src/cw/cpcd/APIService.cpp: Add shutdown options (so far only SIGKILL) ndb/src/cw/cpcd/CPCD.hpp: Add shutdown options (so far only SIGKILL) ndb/src/cw/cpcd/Process.cpp: Add shutdown options (so far only SIGKILL) ndb/test/include/CpcClient.hpp: Add shutdown options (so far only SIGKILL) ndb/test/run-test/main.cpp: Add shutdown options (so far only SIGKILL) ndb/test/src/CpcClient.cpp: Add shutdown options (so far only SIGKILL)
This commit is contained in:
@ -448,6 +448,7 @@ setup_config(atrt_config& config){
|
||||
proc.m_proc.m_runas = proc.m_host->m_user;
|
||||
proc.m_proc.m_ulimit = "c:unlimited";
|
||||
proc.m_proc.m_env.assfmt("MYSQL_BASE_DIR=%s", dir.c_str());
|
||||
proc.m_proc.m_shutdown_options = "";
|
||||
proc.m_hostname = proc.m_host->m_hostname;
|
||||
proc.m_ndb_mgm_port = g_default_base_port;
|
||||
if(split1[0] == "mgm"){
|
||||
@ -470,6 +471,7 @@ setup_config(atrt_config& config){
|
||||
proc.m_proc.m_path.assign(dir).append("/libexec/mysqld");
|
||||
proc.m_proc.m_args = "--core-file --ndbcluster";
|
||||
proc.m_proc.m_cwd.appfmt("%d.mysqld", index);
|
||||
proc.m_proc.m_shutdown_options = "SIGKILL"; // not nice
|
||||
} else if(split1[0] == "api"){
|
||||
proc.m_type = atrt_process::NDB_API;
|
||||
proc.m_proc.m_name.assfmt("%d-%s", index, "ndb_api");
|
||||
|
Reference in New Issue
Block a user