Skip to content

Commit

Permalink
Add everything_disabled opsfile and expectations file
Browse files Browse the repository at this point in the history
[#147896081]

Signed-off-by: Sam Serrano <[email protected]>
  • Loading branch information
zankich authored and utricularian committed Jul 25, 2017
1 parent 35e90e8 commit 66653e7
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
10 changes: 10 additions & 0 deletions assets/tuning/everything_disabled.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"innodb_buffer_pool_instances": "8",
"innodb_lock_wait_timeout": "50",
"innodb_flush_method": "",
"server_audit_events": "",
"server_audit_logging": "",
"server_audit_excl_users": "",
"log_bin": "OFF",
"expire_logs_days": "0"
}
47 changes: 47 additions & 0 deletions assets/tuning/everything_disabled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
# * There are quite a few overrides in this file that are commented out. We are explicitly testing not including them,
# so they are commented out for parity with the everything_disabled.json file. These should all be values that have
# no default in the spec file, but are not required to be set. Variables that have a default value in the spec file
# will be tested by another (less expensive) means.

# mariadb default is 1
# https://mariadb.com/kb/en/mariadb/xtradbinnodb-server-system-variables/#innodb_buffer_pool_instances
# * see head note
#- type: replace
# path: /properties/cf_mysql/mysql/innodb_buffer_pool_instances?
# value: null

# mariadb default is 1
# https://mariadb.com/kb/en/mariadb/xtradbinnodb-server-system-variables/#innodb_lock_wait_timeout
# * see head note
#- type: replace
# path: /properties/cf_mysql/mysql/innodb_lock_wait_timeout?
# value: 200

# mariadb default is an empty value
# https://mariadb.com/kb/en/mariadb/xtradbinnodb-server-system-variables/#innodb_flush_method
# * see head note
#- type: replace
# path: /properties/cf_mysql/mysql/innodb_flush_method?
# value: null

# * see head note
#- type: replace
# path: /properties/cf_mysql/mysql/server_audit_events?
# value: connect

# explicitly test we ignore this due to server_audit_events being missing
- type: replace
path: /properties/cf_mysql/mysql/server_audit_excluded_users?
value: [user1, user2]

- type: replace
path: /properties/cf_mysql/mysql/binlog_enabled?
value: false

# mariadb default is 0
# https://mariadb.com/kb/en/mariadb/replication-and-binary-log-server-system-variables/#expire_logs_days
# explicitly test we ignore this due to binlog_enabled being false
- type: replace
path: /properties/cf_mysql/mysql/binlog_expire_days?
value: 3

0 comments on commit 66653e7

Please sign in to comment.