vitess-gh/config/mycnf/test-suite.cnf

26 строки
744 B
INI

# This sets some unsafe settings specifically for
# the test-suite which is currently MySQL 5.7 based
# In future it should be renamed testsuite.cnf
innodb_buffer_pool_size = 32M
innodb_flush_log_at_trx_commit = 0
innodb_log_buffer_size = 1M
innodb_log_file_size = 5M
# Native AIO tends to run into aio-max-nr limit during test startup.
innodb_use_native_aio = 0
key_buffer_size = 2M
sync_binlog=0
innodb_doublewrite=0
# These two settings are required for the testsuite to pass,
# but enabling them does not spark joy. They should be removed
# in the future. See:
# https://github.com/vitessio/vitess/issues/5396
sql_mode = STRICT_TRANS_TABLES
# set a short heartbeat interval in order to detect failures quickly
slave_net_timeout = 4