tests: tear down numerics values (fix #4602) (#4604)

Also temporarily disable part of the CI to avoid it becoming confused about tests for/from old versions
This commit is contained in:
Auke Booij 2020-04-29 16:56:16 +02:00 committed by GitHub
parent fb35576984
commit ad882a93e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -174,9 +174,12 @@ run_server_upgrade_pytest() {
set -x
# With --avoid-error-message-checks, we are only going to throw warnings if the error message has changed between releases
# FIX ME: Remove the deselect below after the next stable release
pytest --hge-urls "${HGE_URL}" --pg-urls "$HASURA_GRAPHQL_DATABASE_URL" \
--avoid-error-message-checks "$@" \
-m 'allow_server_upgrade_test and not skip_server_upgrade_test' -v $tests_to_run
-m 'allow_server_upgrade_test and not skip_server_upgrade_test' \
--deselect test_graphql_mutations.py::TestGraphqlUpdateBasic::test_numerics_inc \
-v $tests_to_run
set +x
cd -
}

View File

@ -13,3 +13,6 @@ args:
delete from person;
SELECT setval('person_id_seq', 1, FALSE);
delete from numerics;
SELECT setval('numerics_id_seq', 1, FALSE);