mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
6ed9f36125
These tests are intended to catch issues in upgrading HGE. However: * the tests are very convoluted and hard to understand, * we can only run a small subset of Python tests that don't mutate any data or metadata, and * I have never seen them fail for a legitimate reason, but I've seen a lot of flakes. While we do believe it's important to test that upgrades don't break the stored introspection, these tests don't seem to be doing that any more. I humbly request that we delete them now and either (a) figure out how to test this properly, or (b) just wait for v3, which does away with reintrospecting on server startup entirely. [NDAT-259]: https://hasurahq.atlassian.net/browse/NDAT-259?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8844 GitOrigin-RevId: 528bc632fce377b7eff2026b832bd58586ac5a0b
20 lines
1.0 KiB
INI
20 lines
1.0 KiB
INI
[pytest]
|
|
norecursedirs = queries webhook test_upgrade
|
|
; Turn any expected failures that pass ("xpassed") into hard failures. This
|
|
; lets us use 'xfail' to create test cases that validate other tests, and also
|
|
; means we're sure to notice if e.g. a known bug is fixed.
|
|
xfail_strict = true
|
|
markers =
|
|
backend: The backends supported by the test case
|
|
admin_secret: Generate and use an admin secret
|
|
no_admin_secret: Skip if an admin secret is provided (legacy)
|
|
requires_an_admin_secret: Skip if no admin secret is provided
|
|
hge_env: Pass additional environment variables to the GraphQL Engine
|
|
jwk_path: When running a JWK server, the URL path that HGE should use
|
|
jwt: JWT configuration for the test
|
|
tls_webhook_server: Only run the webhook server with TLS enabled
|
|
no_tls_webhook_server: Only run the webhook server with TLS disabled
|
|
tls_insecure_certificate: Create an insecure (self-signed) certificate for the webhook server
|
|
capture_hge_logs: Enable to capture HGE logs for later inspection in a test
|
|
value: A value used by self-tests
|