PT-2295 - Fix tests on distributions

- Fixed typo in has_rocksdb variable assignment in lib/bash/report_mysql_info.sh
- Added cleanup to pt-stalk tests
This commit is contained in:
Sveta Smirnova
2024-02-01 13:54:47 +03:00
parent b98b998a2b
commit 7369476a8d
4 changed files with 4 additions and 2 deletions

View File

@@ -1547,7 +1547,7 @@ report_mysql_summary () {
fi
fi
local has_rocksdb=$(cat $dir/mysql-plugins | grep -i 'rocksdb.*active.*storage engine')
local has_rocksdb="$(cat $dir/mysql-plugins | grep -i 'rocksdb.*active.*storage engine')"
if [ ! -z "$has_rocksdb" ]; then
section "RocksDB"
section_rocksdb "$dir/mysql-variables" "$dir/mysql-status"