timescaledb/scripts/test_updates_no_constraints.sh
Rob Kiefer 005813da21 Make update tests more composable.
This removes a lot of duplicated code across the two versions of
update tests (one with testing of constraints vs one without) and
potentially allows for further additions more easily. Also, this
splits Travis testing of updates into two jobs so they can run
concurrently and reduce the amount of turnaround time for PRs.
Finally, added versions since 0.8.0 that were not previously being
tested.
2018-08-03 10:07:09 -04:00

16 lines
360 B
Bash
Executable File

#!/bin/bash
#
# Prior to version 0.5.0, TimescaleDB did not fully support most constraints
# so we don't include update tests that test constraint support in pre-0.5.0
# versions.
set -e
set -o pipefail
TAGS="0.1.0 0.2.0 0.3.0 0.4.0 0.4.1 0.4.2"
for tag in ${TAGS};
do
UPDATE_FROM_TAG=${tag} TEST_VERSION="v1" $(dirname $0)/test_update_from_tag.sh
done