Skip to content

Commit

Permalink
fix check yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
wayyoungboy committed Apr 25, 2024
1 parent c81e94b commit f91d751
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 2 additions & 4 deletions handler/checker/tasks/observer/cluster/sys_log_level.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ task:
sql: 'SELECT value FROM oceanbase.__all_virtual_sys_parameter_stat where name like "%syslog_level%";'
result:
set_value: sys_log_level
verify_type: equal
report_type: warning
verify: '[[ ${sys_log_level} == "WDIAG"]]'
verify: '[[ $sys_log_level == "WDIAG" ]]'
err_msg: "on 4.x, the recommended value for sys_log_level is WDIAG"

- version: "[3.0.0,4.0.0.0)"
Expand All @@ -17,7 +16,6 @@ task:
sql: 'SELECT value FROM oceanbase.__all_virtual_sys_parameter_stat where name like "%syslog_level%";'
result:
set_value: sys_log_level
verify_type: equal
report_type: warning
verify: '[[ ${sys_log_level} == "INFO"]]'
verify: '[[ $sys_log_level == "INFO" ]]'
err_msg: "on 3.x, the recommended value for sys_log_level is INFO"
4 changes: 1 addition & 3 deletions handler/checker/tasks/observer/system/core_pattern.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@ task:
parameter: kernel.core_pattern
result:
set_value: core_pattern
verify: "[[ $core_pattern == *" "* ]]"
verify: '[[ $core_pattern == *" "* ]]'
err_msg: 'clock_source: #{clock_source}. recommended: tsc. Uneven CPU utilization during pressure testing resulted in low TPS during pressure testing'


0 comments on commit f91d751

Please sign in to comment.