Run smoke tests by default
The tests are now run as the shorter version by default.
This commit is contained in:
@ -63,10 +63,21 @@ void TestConnections::require_galera_version(const char *version)
|
|||||||
}
|
}
|
||||||
|
|
||||||
TestConnections::TestConnections(int argc, char *argv[]):
|
TestConnections::TestConnections(int argc, char *argv[]):
|
||||||
no_backend_log_copy(false), use_snapshots(false), verbose(false), rwsplit_port(4006),
|
no_backend_log_copy(false),
|
||||||
readconn_master_port(4008), readconn_slave_port(4009), binlog_port(5306),
|
use_snapshots(false),
|
||||||
global_result(0), binlog_cmd_option(0), enable_timeouts(true), use_ipv6(false),
|
verbose(false),
|
||||||
no_galera(false), binlog_master_gtid(false), binlog_slave_gtid(false),
|
smoke(true),
|
||||||
|
rwsplit_port(4006),
|
||||||
|
readconn_master_port(4008),
|
||||||
|
readconn_slave_port(4009),
|
||||||
|
binlog_port(5306),
|
||||||
|
global_result(0),
|
||||||
|
binlog_cmd_option(0),
|
||||||
|
enable_timeouts(true),
|
||||||
|
use_ipv6(false),
|
||||||
|
no_galera(false),
|
||||||
|
binlog_master_gtid(false),
|
||||||
|
binlog_slave_gtid(false),
|
||||||
no_vm_revert(true)
|
no_vm_revert(true)
|
||||||
{
|
{
|
||||||
signal_set(SIGSEGV, sigfatal_handler);
|
signal_set(SIGSEGV, sigfatal_handler);
|
||||||
@ -508,14 +519,12 @@ int TestConnections::read_env()
|
|||||||
}
|
}
|
||||||
|
|
||||||
env = getenv("smoke");
|
env = getenv("smoke");
|
||||||
if ((env != NULL) && ((strcasecmp(env, "yes") == 0) || (strcasecmp(env, "true") == 0) ))
|
if (env)
|
||||||
{
|
{
|
||||||
smoke = true;
|
smoke = strcasecmp(env, "yes") == 0 || strcasecmp(env, "true") == 0 ||
|
||||||
}
|
strcasecmp(env, "1") == 0 || strcasecmp(env, "on") == 0;
|
||||||
else
|
|
||||||
{
|
|
||||||
smoke = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
env = getenv("threads");
|
env = getenv("threads");
|
||||||
if ((env != NULL))
|
if ((env != NULL))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user