Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mchawla16 committed Jan 2, 2023
1 parent d6d9f25 commit 113a73b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backup_tests/innodb_myrocks_backup_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ incremental_backup() {
echo "The mysql server was started successfully"

# Binlog can't be applied if binlog is encrypted or skipped
if [[ "${MYSQLD_OPTIONS}" != *"binlog-encryption" ]] && [[ "${MYSQLD_OPTIONS}" != *"--encrypt-binlog"* ]] && [[ "${MYSQLD_OPTIONS}" != *"skip-log-bin"* ]]; then
if [[ "${MYSQLD_OPTIONS}" != *"binlog-encryption"* ]] && [[ "${MYSQLD_OPTIONS}" != *"--encrypt-binlog"* ]] && [[ "${MYSQLD_OPTIONS}" != *"skip-log-bin"* ]]; then
echo "Check xtrabackup for binlog position"
xb_binlog_file=$(cat ${backup_dir}/full/xtrabackup_binlog_info|awk '{print $1}'|head -1)
xb_binlog_pos=$(cat ${backup_dir}/full/xtrabackup_binlog_info|awk '{print $2}'|head -1)
Expand Down Expand Up @@ -479,7 +479,7 @@ incremental_backup() {
fi

# Record count and checksum can't be checked if binlog encryption is enabled and binlogs are not applied
if [[ "${MYSQLD_OPTIONS}" != *"binlog-encryption" ]] && [[ "${MYSQLD_OPTIONS}" != *"--encrypt-binlog"* ]] && [[ "${MYSQLD_OPTIONS}" != *"skip-log-bin"* ]]; then
if [[ "${MYSQLD_OPTIONS}" != *"binlog-encryption"* ]] && [[ "${MYSQLD_OPTIONS}" != *"--encrypt-binlog"* ]] && [[ "${MYSQLD_OPTIONS}" != *"skip-log-bin"* ]]; then
echo "Check the record count of tables in databases: ${database_list}"
# Get record count for each table in databases test and test_rocksdb
rc_err=0
Expand Down

0 comments on commit 113a73b

Please sign in to comment.