Commit Graph
221 Commits
Author SHA1 Message Date
Ben Banfield-Zanin 421d2c7a47 Make this repo clonable on Windows 2025-10-22 09:28:08 +01:00
Ben Banfield-Zanin 113c585313 Dont manage user passwords in MAS tests if password logins are disabled 2025-10-10 11:39:48 +01:00
Ben Banfield-Zanin 20243ec256 Support re-running tests against an existing MAS DB 2025-10-10 11:39:43 +01:00
Ben Banfield-Zanin 1ad59b893f Invalidate cached access tokens in tests if they aren't usable 2025-10-10 11:38:26 +01:00
Ben Banfield-Zanin 963cd3cacf Remove test hitting /.well-known/element/element.json.
It is gone. Was being masked by the redirect.
2025-10-08 15:41:55 +01:00
Ben Banfield-Zanin aea83ebfbd Split well-known-pytest-extras.yaml into well-known-pytest-{base,self}-extras.yaml 2025-10-08 15:41:55 +01:00
Ben Banfield-Zanin c6781efd10 We're only testing against current or 25.9.3 now 2025-10-02 11:22:26 +01:00
Gaël Goinvic bc35de7329 Merge pull request #743 from element-hq/gaelg/add-admin-console
Add admin console
2025-09-29 14:27:17 +02:00
Gaël Goinvic efa7c627aa skip against previous version 2025-09-29 14:04:28 +02:00
Gaël Goinvic 3e5b207023 coule of fixes on element-admin for testing 2025-09-29 14:04:28 +02:00
Ben Banfield-Zanin 1fa7f18d6a Use stable URL for auth metadata 2025-09-26 15:56:13 +01:00
Gaël Goinvic cabaa4e5ff add element-admin pytest 2025-09-24 15:51:17 +02:00
Gaël Goinvic b51d2bf65f tests: restart curl pods on failure to fetch metrics 2025-09-16 11:40:38 +02:00
Gaël Goinvic 39afcb2b85 fix pytest-kubernetes cluster_config is provier_config 2025-09-16 09:48:51 +02:00
Gaël Goinvic e7e07ad60c dont delete curl pods on error 2025-09-15 15:42:18 +02:00
Andrew Ferrazzutti 758c847ba0 Merge pull request #728 from element-hq/af/mas-test-synapse-admin-token
tests: add Synapse API scope to MAS admin users
2025-09-12 10:59:27 -04:00
Gaël Goinvic f2e8100d81 use state instead of lastState 2025-09-12 16:31:12 +02:00
Gaël Goinvic b770fb3090 give 60 seconds to start to pods 2025-09-12 16:13:22 +02:00
Gaël Goinvic 5b715a812c run pod with args: properly raise an error if its not ready in time 2025-09-12 16:13:06 +02:00
Gaël Goinvic a35218ac25 use apply instead of create and avoid silencing errors 2025-09-12 14:57:09 +02:00
Andrew Ferrazzutti b551d45c63 tests: add Synapse API scope to MAS admin users
When creating a MAS user for tests, if the user is to be a Synapse
admin, ensure that its OAuth 2.0 token is granted the scope for making
requests to the Synapse Admin API.
2025-09-12 00:20:49 -04:00
Ben Banfield-Zanin 7f56dd4b17 Expose the ESS version and edition in an API 2025-09-09 08:06:21 +01:00
Ben Banfield-Zanin e3c7c4f0fb Default MSC4028 to on 2025-09-04 09:38:33 +01:00
Gaël Goinvic 77bc13d915 add conditional in the helper as well 2025-08-13 14:48:31 +02:00
Gaël Goinvic d8d6b1456d add dockerhub secret to curl pods 2025-08-13 12:58:43 +02:00
Ben Banfield-Zanin 2da5e0cfbd Don't block indefinitely waiting for a HAProxy logline. Retry after 1s waiting. 2025-08-06 14:13:47 +01:00
Ben Banfield-Zanin bbc87ca744 More fixing of the Synapse routing test flakes 2025-08-06 12:13:34 +01:00
Ben Banfield-Zanin 71eabde0a2 CI: add headers to aiohttp_get_json 2025-08-06 12:13:29 +01:00
Ben Banfield-Zanin bb9ccc6364 CI: Accept routing to the failover backends in the Synapse routing test. 2025-08-04 13:28:10 +01:00
Ben Banfield-Zanin 54d4bc2a9b Don't run the Synapse routing test with syn2mas 2025-08-01 16:52:50 +01:00
Ben Banfield-Zanin 0013b48e55 Merge pull request #641 from element-hq/bbz/remove-well-known-element
Remove support for `/.well-known/element/element.json`
2025-08-01 15:38:29 +01:00
Ben Banfield-Zanin 40cc24973c Remove support for /.well-known/element/element.json 2025-08-01 15:25:22 +01:00
Ben Banfield-Zanin b3e9bdb3a0 Fix flakes in Synapse worker routing test 2025-08-01 15:13:41 +01:00
Gaël Goinvic f76f4c654c add hostAlias to mrtc authorisation service 2025-07-31 10:23:04 +02:00
Ben Banfield-Zanin 57e23c9ca3 Don't retry ClientResponseError, we end up retrying all 4xx/5xx statuses as a result 2025-07-29 13:52:41 +01:00
Ben Banfield-Zanin 322cc227d7 Test that HAProxy routes correctly to Synapse workers 2025-07-29 13:52:10 +01:00
Gaël Goinvic 62c7081051 skip replicasets with zero replicas 2025-07-28 12:16:40 +02:00
Gaël Goinvic df75a30b81 skip pods part of a previous replicaset generation 2025-07-28 11:49:00 +02:00
Gaël Goinvic 183895163e wait for all replicasets to be ready 2025-07-28 09:25:09 +02:00
Gaël Goinvic 2d119d7971 upgrade: fix flaky tests 2025-07-25 15:47:06 +02:00
Gaël Goinvic bbf01bc89a fix flaking upgrade test 2025-07-25 15:38:28 +02:00
Gaël Goinvic 7def669c0e refactor fixture users 2025-07-24 13:06:40 +02:00
Ben Banfield-Zanin 90810f5586 CI: remove deploymentMarkers from Synapse PyTests so we have Synapse PyTests without them. 2025-07-16 09:14:31 +01:00
Ben Banfield-Zanin 75b9da43bd Remove unused test function cert_bundle_as_pfx 2025-07-09 14:08:10 +01:00
Ben Banfield-Zanin c9d3c018a8 Split the root CA PEM into ca.crt and only include leaf and intermediate CAs certs in tls.crt 2025-07-09 14:07:44 +01:00
Ben Banfield-Zanin a39e8bfa7c Rename root_ca to issuing_ca when constructing CA certificates 2025-07-09 14:04:53 +01:00
Ben Banfield-Zanin cc5445fdcb Stop constructing CA bundle PEMs 2025-07-09 14:04:45 +01:00
Ben Banfield-Zanin 24c3802577 Only trust the root CA 2025-07-09 14:04:36 +01:00
Ben Banfield-Zanin ab24ddfa7f Remove bundled from kubernetes_tls_secret as it is always set to true 2025-07-09 14:00:48 +01:00
Gaël GoinvicandBen Banfield-Zanin 4d5345b659 Enhance assert words
Co-authored-by: Ben Banfield-Zanin <[email protected]>
2025-07-02 10:20:52 +02:00