Skip to content

Commit

Permalink
refactor: e2e not constant
Browse files Browse the repository at this point in the history
  • Loading branch information
chesedo committed Jan 4, 2022
1 parent 0a45933 commit d276b14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions synth/testing_harness/postgres/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ function test-arrays() {
echo -e "${INFO}Testing arrays to postgres${NC}"
psql -c "CREATE DATABASE arrays;" postgres://postgres:$PASSWORD@localhost:$PORT/postgres
psql -f arrays/0_arrays.sql postgres://postgres:$PASSWORD@localhost:$PORT/arrays
ERRORS=$($SYNTH generate --to postgres://postgres:$PASSWORD@localhost:$PORT/arrays arrays 2>&1)
if [ ! -z "$ERRORS" ]
errors=$($SYNTH generate --to postgres://postgres:$PASSWORD@localhost:$PORT/arrays arrays 2>&1)
if [ ! -z "$errors" ]
then
echo -e "${ERROR}Did not expect errors:${NC}"
echo -e $ERRORS
echo -e $errors
return 1
fi

Expand Down

0 comments on commit d276b14

Please sign in to comment.