From dbcf639f88168af1dba825d8ea4d8213a4325b62 Mon Sep 17 00:00:00 2001 From: Viacheslav Sarzhan Date: Wed, 20 Mar 2024 11:52:33 +0200 Subject: [PATCH] Update e2e-tests/pitr-physical/run Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- e2e-tests/pitr-physical/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e-tests/pitr-physical/run b/e2e-tests/pitr-physical/run index baa45697ef..40903cdb84 100755 --- a/e2e-tests/pitr-physical/run +++ b/e2e-tests/pitr-physical/run @@ -66,7 +66,7 @@ check_recovery() { 'use myApp\n db.test.insert({ x: 100501 })' \ "myApp:myPass@$cluster-mongos.$namespace" - if [[ ! -z ${restore_date} ]]; then + if [[ -n ${restore_date} ]]; then desc "Restoring to time $(format_date ${restore_date})" retries=0 until [[ ${latest_ts} -gt ${restore_date} ]]; do