Skip to content

Commit

Permalink
Adjust hourly log rotation test
Browse files Browse the repository at this point in the history
  • Loading branch information
hughcapet committed Nov 12, 2024
1 parent 2901da0 commit a66e1de
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions postgres-appliance/tests/test_spilo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,10 @@ function start_clone_with_basebackup_upgrade_container() {
function start_clone_with_hourly_log_rotation() {
docker-compose run \
-e SCOPE=hourlylogs \
-e PGVERSION=16 \
-e PGVERSION=17 \
-e LOG_SHIP_HOURLY="true" \
-e CLONE_SCOPE=upgrade2 \
-e CLONE_PGVERSION=14 \
-e CLONE_PGVERSION=15 \
-e CLONE_METHOD=CLONE_WITH_WALE \
-e CLONE_TARGET_TIME="$(next_minute)" \
--name "${PREFIX}hourlylogs" \
Expand Down Expand Up @@ -364,7 +364,7 @@ function test_spilo() {
local basebackup_container
basebackup_container=$(start_clone_with_basebackup_upgrade_container "$upgrade_container") # SCOPE=upgrade2 PGVERSION=15 CLONE: _SCOPE=upgrade
log_info "[TS6] Started $basebackup_container for testing major upgrade 14->15 after clone with basebackup"

wait_backup "$basebackup_container"

# TEST SUITE 1
# run_test test_pg_upgrade_to_17_check_failed "$container" # pg_upgrade --check complains about timescaledb
Expand Down Expand Up @@ -408,6 +408,6 @@ function main() {
test_spilo "$leader"
}

trap cleanup QUIT TERM EXIT
# trap cleanup QUIT TERM EXIT

main

0 comments on commit a66e1de

Please sign in to comment.