From f1d243293b323602f9452afded26cc60c273c419 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Fri, 22 May 2026 11:42:42 +0200 Subject: [PATCH] test(catalog-backend): await engine start/stop in integration test harness MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Fredrik Adelöw --- plugins/catalog-backend/src/tests/integration.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/catalog-backend/src/tests/integration.test.ts b/plugins/catalog-backend/src/tests/integration.test.ts index d4235c2c61..f98418ecda 100644 --- a/plugins/catalog-backend/src/tests/integration.test.ts +++ b/plugins/catalog-backend/src/tests/integration.test.ts @@ -360,12 +360,12 @@ class TestHarness { const tracker = new WaitingProgressTracker(entityRefs); this.#proxyProgressTracker.setTracker(tracker); - this.#engine.start(); + await this.#engine.start(); await this.#stitcher.start(); const errors = await tracker.wait(); - this.#engine.stop(); + await this.#engine.stop(); await tracker.waitForFinish(); // Wait for the stitch queue to drain while the stitcher is still running