Skip to content

Commit

Permalink
change variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
FxKu committed Sep 13, 2024
1 parent 4c08136 commit 624f3f4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions postgres-appliance/tests/test_spilo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ function start_clone_with_hourly_log_rotation() {
-e CLONE_PGVERSION=16 \
-e CLONE_METHOD=CLONE_WITH_WALE \
-e CLONE_TARGET_TIME="$(next_minute)" \
--name "${PREFIX}1hlogs" \
--name "${PREFIX}hourlylogs" \
-d "spilo3"
}

Expand Down Expand Up @@ -391,12 +391,12 @@ function test_spilo() {
run_test verify_archive_mode_is_on "$basebackup_container"

# TEST SUITE 7
local 1hlogs_container
1hlogs_container=$(start_clone_with_hourly_log_rotation "$container")
wait_all_streaming "$1hlogs_container"
local hourlylogs_container
hourlylogs_container=$(start_clone_with_hourly_log_rotation "$container")
wait_all_streaming "$hourlylogs_container"

log_info "[TS7] Testing hourly log rotation"
run_test verify_hourly_log_rotation "$1hlogs_container"
run_test verify_hourly_log_rotation "$hourlylogs_container"
}

function main() {
Expand Down

0 comments on commit 624f3f4

Please sign in to comment.