From 6e323fb6b5d62112486f28538b00c4bc7a8aa9f8 Mon Sep 17 00:00:00 2001 From: devin ivy Date: Fri, 7 Jun 2024 13:04:22 -0400 Subject: [PATCH] Fix flaky tests surrounding ozone/pds (#2561) fix flaky tests surrounding ozone/pds --- packages/dev-env/src/network.ts | 2 +- packages/ozone/tests/lang.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/dev-env/src/network.ts b/packages/dev-env/src/network.ts index 7c826edb294..63964675e4f 100644 --- a/packages/dev-env/src/network.ts +++ b/packages/dev-env/src/network.ts @@ -152,9 +152,9 @@ export class TestNetwork extends TestNetworkNoAppView { async processAll(timeout?: number) { await this.pds.processAll() + await this.ozone.processAll() await this.processFullSubscription(timeout) await this.bsky.sub.background.processAll() - await this.ozone.processAll() } async serviceHeaders(did: string, aud?: string) { diff --git a/packages/ozone/tests/lang.test.ts b/packages/ozone/tests/lang.test.ts index e2e79d86792..96b912997d5 100644 --- a/packages/ozone/tests/lang.test.ts +++ b/packages/ozone/tests/lang.test.ts @@ -15,7 +15,7 @@ describe('moderation status language tagging', () => { beforeAll(async () => { network = await TestNetwork.create({ - dbPostgresSchema: 'ozone_blob_divert_test', + dbPostgresSchema: 'ozone_lang_test', ozone: { blobDivertUrl: `https://blob-report.com`, blobDivertAdminPassword: 'test-auth-token',