Commit Graph

15 Commits

Author SHA1 Message Date
mike12345567 e9d3c48ff4 Fixing images to use a locked SHA, this means that we shouldn't have issues with CI breaking due to using images which are receiving updates (we've experienced two CI breakages due to MariaDB and MS-SQL updates). 2024-07-24 16:31:13 +01:00
Peter Clement 1d300c2577
Remove aws sdk global mock and update tests (#13637)
* Remove aws sdk global mock and update tests

* add awaits

* Minio healthcheck in tests.

* Bind to 127.0.0.1 instead of 0.0.0.0

* Fix port fetching for minio container.

* Actually fix port mapping this time.

* Pull minio container before running tests.

* Enable testcontainers debug logging.

* Promote minio container to always running in tests, like CouchDB.

* Remove testcontainers debug logging.

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-05-08 14:08:34 +01:00
Sam Rose dd02224806
Restart testcontainers every day, and add a script to kill them. 2024-04-26 14:01:52 +01:00
Sam Rose 777b5b5f53
Make REUSE_CONTAINERS the default for running tests. 2024-04-26 11:35:23 +01:00
Sam Rose c5580b4767
Get SQS plumbing working in tests. 2024-04-09 15:31:32 +01:00
Sam Rose 8c3c341c55
Set up first search test that hits SQS et al 2024-04-09 15:09:56 +01:00
Sam Rose 79184e70af
Remove CONTAINER_NAMESPACE, it wasn't the solution. 2024-04-03 12:32:29 +01:00
Sam Rose b25912bc5e
Correct the lock path. 2024-04-03 12:11:28 +01:00
Sam Rose dda0d1fb5b
Lock globalSetup to prevent multiple containers starting. 2024-04-03 12:06:49 +01:00
Sam Rose 8cffdeda56
Re-use containers and create namespaces for each test. 2024-04-03 11:33:39 +01:00
Sam Rose eb33dac9b1
Make container reuse optional, disabled by default. 2024-03-27 16:40:41 +00:00
Sam Rose 1eae212f83
Stop relying on config.request and create a supertest instance per request. 2024-03-26 15:41:51 +00:00
Sam Rose 415b27a008
Don't need a globalTeardown, testcontainers handles the removal of containers. 2024-03-26 10:00:34 +00:00
Sam Rose e5c7e653e4
Better CouchDB config passing. 2024-03-26 09:58:40 +00:00
Sam Rose f3e9e3d35e
Share a single globalSetup/globalTeardown. 2024-03-26 09:49:33 +00:00