From bf1f72e6e1fb3f589eaa30b2ad9d2d5cf113f8ca Mon Sep 17 00:00:00 2001 From: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com> Date: Sun, 20 Sep 2026 00:15:13 -0700 Subject: [PATCH] Fix tests --- tests/setup/docker-compose-francis.yml | 2 -- tests/setup/francis-config.yaml | 5 +++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/setup/docker-compose-francis.yml b/tests/setup/docker-compose-francis.yml index 4b7351d8..894913dc 100644 --- a/tests/setup/docker-compose-francis.yml +++ b/tests/setup/docker-compose-francis.yml @@ -15,7 +15,6 @@ services: image: ghcr.io/italypaleale/francis:${FRANCIS_VERSION:?run ./francis-version.sh to set it, see CONTRIBUTING.md} volumes: - ./francis-config.yaml:/etc/francis/config.yaml:ro - - francis-test-data:/data # The image ships its own HEALTHCHECK, which probes the runtime over the loopback # It's repeated here so Pocket ID can wait on it, and so a runtime that never comes up fails fast instead of after the default retries healthcheck: @@ -47,4 +46,3 @@ services: volumes: pocket-id-test-data: - francis-test-data: diff --git a/tests/setup/francis-config.yaml b/tests/setup/francis-config.yaml index 6c490807..ef4f682a 100644 --- a/tests/setup/francis-config.yaml +++ b/tests/setup/francis-config.yaml @@ -15,9 +15,10 @@ bootstrap: hostPSK: "e2e-host-bootstrap-psk-0123456789" # The runtime owns its own SQLite store, which is separate from Pocket ID's database -# It lives on a volume because the image runs as a non-root user that cannot write to the image filesystem +# It lives in /tmp because the image runs as a non-root user (uid 65532) and that is the only world-writable directory in it +# The store only has to survive as long as the containers do, so there is nothing to persist beyond the test run provider: - connectionString: "/data/francis.db" + connectionString: "/tmp/francis.db" # A single Pocket ID replica joins the cluster, matching the cap the embedded runtime applies when HA is off maxHosts: 1