Skip to content

Commit

Permalink
Fix flaky tests surrounding ozone/pds (bluesky-social#2561)
Browse files Browse the repository at this point in the history
fix flaky tests surrounding ozone/pds
  • Loading branch information
devinivy authored Jun 7, 2024
1 parent b82efd5 commit 6e323fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/dev-env/src/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion packages/ozone/tests/lang.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 6e323fb

Please sign in to comment.