From 9c52986d76babeb1188f28bf5281004bf910c867 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 6 Jan 2025 10:07:34 +0000 Subject: [PATCH] Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- playwright/e2e/sliding-sync/sliding-sync.spec.ts | 4 ++-- playwright/testcontainers/synapse.ts | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/playwright/e2e/sliding-sync/sliding-sync.spec.ts b/playwright/e2e/sliding-sync/sliding-sync.spec.ts index 0ddfabc549..08fed9b3bf 100644 --- a/playwright/e2e/sliding-sync/sliding-sync.spec.ts +++ b/playwright/e2e/sliding-sync/sliding-sync.spec.ts @@ -25,8 +25,8 @@ const test = base.extend<{ .withLogConsumer(logger.getConsumer("sliding-sync-proxy")) .withEnvironment({ SYNCV3_SECRET: "bwahahaha", - SYNCV3_DB: `user=postgres dbname=postgres password=${postgres.getPassword()} host=${postgres.getHost()} sslmode=disable`, - SYNCV3_SERVER: `http://${homeserver.getNetworkNames()[0]}:8008`, + SYNCV3_DB: `user=postgres dbname=postgres password=${postgres.getPassword()} host=postgres sslmode=disable`, + SYNCV3_SERVER: `http://homeserver:8008`, }) .start(); diff --git a/playwright/testcontainers/synapse.ts b/playwright/testcontainers/synapse.ts index a79166c358..45d544ef27 100644 --- a/playwright/testcontainers/synapse.ts +++ b/playwright/testcontainers/synapse.ts @@ -94,7 +94,7 @@ const DEFAULT_CONFIG = { burst_count: 10000, }, }, - media_store_path: "/data/media_store", + media_store_path: "/tmp/media_store", max_upload_size: "50M", max_image_pixels: "32M", dynamic_thumbnails: false, @@ -144,8 +144,6 @@ export class SynapseContainer extends GenericContainer { const signingKey = randB64Bytes(32); this.withWaitStrategy(Wait.forHttp("/health", 8008)).withCopyContentToContainer([ - // Create an empty file with permissive permissions to allow the container to write to it - { target: "/data/media_store/.gitkeep", content: "", mode: 0o777 }, { target: "/data/localhost.signing.key", content: `ed25519 x ${signingKey}` }, { target: "/data/log.config",