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
Gaël Goinvic
b51d2bf65f
tests: restart curl pods on failure to fetch metrics
2025-09-16 11:40:38 +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
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
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
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
57e23c9ca3
Don't retry ClientResponseError, we end up retrying all 4xx/5xx statuses as a result
2025-07-29 13:52:41 +01:00
Gaël Goinvic
183895163e
wait for all replicasets to be ready
2025-07-28 09:25:09 +02: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
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 Goinvic
4694f5d724
dont expect a service without name
2025-06-30 13:54:22 +02:00
Gaël Goinvic
0c35e0825b
tests: verify that metrics endpoints have metrics
2025-06-30 13:49:55 +02:00
Gaël Goinvic
d2cc1fb411
handle ClientResponseErrors
2025-06-09 14:53:46 +02:00
Gaël Goinvic
e006b80f5b
add missing if in PYTEST_EXPECTED_HTTP_STATUS_CODES parsing
2025-06-09 11:48:52 +02:00
Gaël Goinvic
bb47c09ba6
fix PYTEST_EXPECTED_HTTP_STATUS_CODES parsing
2025-06-09 11:40:47 +02:00
Gaël Goinvic
d571187daf
on upgrade, expect some 429 when synapse restart
2025-06-09 11:22:45 +02:00
Gaël Goinvic
4d850cbcec
integration tests: allow to run twice against the same release
2025-06-06 17:33:48 +02:00
Gaël Goinvic
b31ef3a937
run mypy against all tests
2025-06-06 17:24:31 +02:00
Gaël Goinvic
dab606af7e
add a helper to get dpeloyment marker
2025-06-05 16:55:50 +02:00
Gaël Goinvic
4b5c03ce05
tests: add a deploy_with_values_patch helper
2025-06-05 16:55:50 +02:00
Ben Banfield-Zanin
f65382bf56
s/aiottp_get_json/aiohttp_get_json
2025-05-02 14:22:20 +01:00
Gaël Goinvic
54a4f35591
fix well-know does not refer to element.io anymore
2025-04-08 10:39:37 +02:00
Gaël Goinvic
15914e1bf7
Update matrix RT checkov
2025-04-08 10:39:37 +02:00
Gaël Goinvic
91aa95ecc9
enhance retries on synapse tests
2025-04-08 10:39:37 +02:00
Gaël Goinvic
f811e50e89
well-known: use retries in redirect test, consistent ports, endpoint
2025-04-08 10:39:37 +02:00
Gaël Goinvic
273099b421
Licensing to AGPL-3.0-only
2025-03-20 14:15:02 +01:00
Ben Banfield-Zanin
d3c687e0ef
Add a shared async context manager for getting a AIOHTTP Client
2025-02-24 14:26:40 +00:00
Gaël Goinvic
784e06515a
tests: remove retries on 429s
2025-02-20 13:08:49 +01:00
Gaël Goinvic
bc14340223
MAS: Enhance 503 handling
2025-02-11 15:44:54 +01:00
Gaël Goinvic
72a16183f8
Use 12 retries
2025-02-10 15:07:26 +01:00
Gaël Goinvic
4c51ab7841
integration tests: reduce retries to 7
2025-02-10 14:12:34 +01:00
Gaël Goinvic
c75be5e750
pytest: update users fixture to support mas
2025-02-07 12:42:54 +01:00
Gaël Goinvic
aa936de88d
pytest: add a dedicated admin client in mas
2025-02-07 12:42:54 +01:00
Gaël Goinvic
f6d14a3812
tests: create users with MAS
2025-02-07 12:42:54 +01:00
Gaël Goinvic
3f5d22bbd6
pytest: successfully run MAS tests
2025-02-07 12:42:53 +01:00
Ben Banfield-Zanin
bd0efe8e76
ruff format after upgrade
2025-02-06 09:05:39 +00:00
Gaël Goinvic
dc0a461536
integration: verify service monitors networking
2024-12-16 12:56:22 +01:00
Ben Banfield-Zanin
cd5d43a69b
Switch completely over to JitterRetry
2024-12-11 15:10:42 +00:00
Ben Banfield-Zanin
c4e816271a
Remove unused install_matrix_stack helper
2024-12-11 15:08:35 +00:00
Ben Banfield-Zanin
9a3ae47939
Move random_string from utils to data as that's the only user
2024-12-11 15:08:04 +00:00
Ben Banfield-Zanin
7551b3d0d0
Correct typing on docker_config_json
2024-12-11 15:07:15 +00:00