Skip to content

Commit

Permalink
remove also tablespace_map in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
defntvdm committed Dec 18, 2019
1 parent 19e8407 commit 290427c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/pg_tests/scripts/tests/catchup_perftest.sh
Expand Up @@ -41,7 +41,7 @@ sleep 1
/usr/bin/time -v -a --output ${CATCHUP_FETCH_LOGS} wal-g --config=${TMP_CONFIG} catchup-fetch ${PGDATA_BETA} --from-lsn 0 2>&1 | tee ${CATCHUP_FETCH_OUTPUT_FILE}
NEW_LSN=`grep -oE 'Cluster LSN is [0-9]+' ${CATCHUP_FETCH_OUTPUT_FILE} | cut -d ' ' -f 4`

rm ${PGDATA_BETA}/backup_label
rm ${PGDATA_BETA}/backup_label ${PGDATA_BETA}/tablespace_map
/usr/lib/postgresql/10/bin/pg_resetwal -f ${PGDATA_BETA}
/usr/lib/postgresql/10/bin/pg_ctl -D ${PGDATA_BETA} -o '-p 5433' -w start
/tmp/scripts/wait_while_pg_not_ready.sh ${PGDATA_BETA}
Expand All @@ -58,7 +58,7 @@ sleep 1
/usr/bin/time -v -a --output ${CATCHUP_PUSH_LOGS} wal-g --config=${TMP_CONFIG} catchup-push ${PGDATA_ALPHA}
/usr/bin/time -v -a --output ${CATCHUP_FETCH_LOGS} wal-g --config=${TMP_CONFIG} catchup-fetch ${PGDATA_BETA} --from-lsn ${NEW_LSN}

rm ${PGDATA_BETA}/backup_label
rm ${PGDATA_BETA}/backup_label ${PGDATA_BETA}/tablespace_map
/usr/lib/postgresql/10/bin/pg_resetwal -f ${PGDATA_BETA}
/usr/lib/postgresql/10/bin/pg_ctl -D ${PGDATA_BETA} -o '-p 5433' -w start
/tmp/scripts/wait_while_pg_not_ready.sh ${PGDATA_BETA}
Expand Down

0 comments on commit 290427c

Please sign in to comment.