graphql-engine/server
Samir Talwar 8be01ae9aa server/api-tests: Use setupTablesAction everywhere.
This removes calls to `setup` and `teardown` in favor of `setupTablesAction`.

Because this action untracks and drops tables (at least until we figure out how to make throwaway databases), the teardown phase can fail. I have added a wrapper which logs and discards exceptions as a workaround for now.

In the future, when we can simply drop the database, it will probably be sensible to catch "table already untracked" exceptions specifically and let them slide, while still failing on all other exceptions.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6769
GitOrigin-RevId: 12cb8f81dd6aced892fe83c49b9a0bdbef8cc1ac
2022-11-09 09:36:43 +00:00
..
bench-wrk server/tests-py: Reduce the number of locations we check the status code. 2022-07-05 18:01:07 +00:00
benchmarks Add benchmarks for allowlist operations 2022-11-01 17:28:15 +00:00
documentation Fix broken links 2022-10-26 14:22:19 +00:00
lib server/api-tests: Use setupTablesAction everywhere. 2022-11-09 09:36:43 +00:00
src-emit-metadata-openapi server: initial set of DTO types for metadata 2022-06-27 16:33:31 +00:00
src-exec Import pg-client-hs as PG 2022-09-20 19:55:51 +00:00
src-lib enable citus and cockroach streaming subscriptions and extend test 2022-11-09 07:23:37 +00:00
src-rsr ci: v2.15.0 catalog version update 2022-11-08 03:53:27 +00:00
src-test pro-server: add support for exporting traces over OTLP 2022-11-07 06:56:08 +00:00
tests-py server: add jwk-refresh-log type to default enabled logs 2022-11-08 16:48:44 +00:00
.dockerignore update packages (#251) 2018-08-08 13:10:13 +05:30
.gitignore server: Clean up Cabal project files 2022-04-07 07:16:12 +00:00
.ormolu Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
commit_diff.txt Rewrite GraphQL schema generation and query parsing (close #2801) (#4111) 2020-08-21 12:27:01 -05:00
COMPILING-ON-MACOS.md server: remove ghc libs from freeze file, update guides 2022-10-06 12:27:09 +00:00
CONTRIBUTING.md Docs: improve Console contributing instructions 2022-10-25 08:14:52 +00:00
graphql-engine.cabal pro-server: add support for exporting traces over OTLP 2022-11-07 06:56:08 +00:00
Makefile ci: misc. cleanup, naming 2022-01-03 06:26:39 +00:00
STYLE.md Nix: Use nixpkgs-fmt to format everything. 2022-06-20 13:02:45 +00:00
testing-guidelines.md Extract the test harness from the Hspec tests 2022-10-04 08:31:26 +00:00
troubleshooting.md Create troubleshooting.md 2022-05-30 09:18:44 +00:00
VERSIONS.json Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00