Skip to content

Commit

Permalink
fix: make sleep longer again
Browse files Browse the repository at this point in the history
  • Loading branch information
zyoshoka committed Feb 28, 2025
1 parent b19486a commit 55b997d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/backend/test-federation/test/user.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ describe('User', () => {

await alice.client.request('i/delete-account', { password: alice.password });
// NOTE: user deletion query is slow
await sleep(2000);
await sleep(4000);

const following = await bob.client.request('users/following', { userId: bob.id });
strictEqual(following.length, 0); // no following relation
Expand Down Expand Up @@ -480,7 +480,7 @@ describe('User', () => {

await aAdmin.client.request('admin/suspend-user', { userId: alice.id });
// NOTE: user deletion query is slow
await sleep(2000);
await sleep(4000);

const following = await bob.client.request('users/following', { userId: bob.id });
strictEqual(following.length, 0); // no following relation
Expand Down

0 comments on commit 55b997d

Please sign in to comment.