graphql-engine/server/tests-py/queries
Samir Talwar 7c452bfca1 server/tests-py: Spawn a new PostgreSQL schema ("database") per test.
When running using the "new" style (with a HGE binary, not a URL), a new PostgreSQL metadata and source database are created for each test. When we get this into CI, this should drastically reduce the flakiness.

I have also enabled parallelization by default when using `run-new.sh`. It's much faster.

I had to basically rewrite _server/tests-py/test_graphql_read_only_source.py_ so that it does two different things depending on how it's run. It's unfortunate, but it should eventually go away.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6879
GitOrigin-RevId: a121b9035f8da3e61a3e36d8b1fbc6ccae918fad
2022-11-15 19:08:53 +00:00
..
actions Remove spaces before colons in error messages and descriptions 2022-10-01 14:48:58 +00:00
apollo_federation server/console: add metadata API set_apollo_federation_config 2022-08-04 09:38:02 +00:00
compression [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
endpoints server/tests-py: Set up postgis extensions using a fixture. 2022-08-15 14:30:42 +00:00
event_triggers server: enforce event triggers name in a source to be unique 2022-08-23 08:51:11 +00:00
explain server/postgres: prefix identifiers longer than 63 characters with their md5 hash 2022-07-22 15:29:02 +00:00
graphql_introspection server/tests-py: Factor out service URLs as environment variables. 2022-08-15 14:59:05 +00:00
graphql_mutation Add Cockroach and Postgres to DataValidation tests 2022-10-27 12:20:41 +00:00
graphql_query server/tests-py: Spawn a new PostgreSQL schema ("database") per test. 2022-11-15 19:08:53 +00:00
graphql_validation server/tests-py: Set up postgis extensions using a fixture. 2022-08-15 14:30:42 +00:00
heterogeneous [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
horizontal_scale/basic sync metadata cache across multiple instances connected to same db (closes #1182) (#1574) 2019-03-12 11:16:27 +05:30
inconsistent_objects Remove all functions from RQL.Types.hs 2022-04-26 15:13:57 +00:00
logging [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
naming_conventions server: fix behaviour of custom table name for graphql-default naming convention 2022-08-17 12:47:49 +00:00
openapi Rewrite OpenAPI 2022-06-30 12:57:09 +00:00
query_cache server/tests-py: Use environment variables for services in queries. 2022-08-03 20:05:46 +00:00
remote_schemas server/tests-py: Factor out service URLs as environment variables. 2022-08-15 14:59:05 +00:00
scheduled_triggers server: fix flaky test_check_events_statuses test 2021-10-22 05:55:59 +00:00
schema/duplication Improve error message phrasing in safeSelectionSet 2022-09-27 06:08:25 +00:00
subscriptions server: fix bug when streaming subscription cursor has custom name 2022-09-22 09:52:36 +00:00
unauthorized_role Adding multiple jwt secrets (incorporating provenance requirements) 2022-02-13 23:34:39 +00:00
v1 server: add validation for response transforms 2022-11-14 15:19:23 +00:00
v2 Install and use ODBC Driver 18 for SQL Server (msodbcsql18). 2022-10-21 16:25:04 +00:00
webhooks/request_context pass gql requests into auth webhook POST body (#149) 2021-02-03 07:11:39 +00:00
clear_db_bigquery.yaml Feature/bigquery python tests 2021-04-22 11:32:55 +00:00
clear_db_citus.yaml server/citus: feature branch 2021-05-21 02:47:51 +00:00
clear_db_mssql.yaml server: generalize integration tests 2021-03-11 18:18:41 +00:00
clear_db.yaml python based tests (#387) 2018-09-18 11:51:57 +05:30