diff options
| author | anatawa12 <anatawa12@icloud.com> | 2025-04-16 07:51:21 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-16 07:51:21 +0900 |
| commit | 86774ad75304620b59dc3b5af01d4388d8a43369 (patch) | |
| tree | 4d8337511037af2f1756701fc0a69c4529f969d4 /packages | |
| parent | refactor(frontend): MkHorizontalSwipe -> MkSwiper (diff) | |
| download | sharkey-86774ad75304620b59dc3b5af01d4388d8a43369.tar.gz sharkey-86774ad75304620b59dc3b5af01d4388d8a43369.tar.bz2 sharkey-86774ad75304620b59dc3b5af01d4388d8a43369.zip | |
fix: improve flaky federation test (#15845)
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/backend/test-federation/test/user.test.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/backend/test-federation/test/user.test.ts b/packages/backend/test-federation/test/user.test.ts index 83dcb8df44..ee69e857bc 100644 --- a/packages/backend/test-federation/test/user.test.ts +++ b/packages/backend/test-federation/test/user.test.ts @@ -381,7 +381,8 @@ describe('User', () => { await alice.client.request('i/delete-account', { password: alice.password }); // NOTE: user deletion query is slow - await sleep(4000); + // FIXME: ensure user is removed successfully + await sleep(10000); const following = await bob.client.request('users/following', { userId: bob.id }); strictEqual(following.length, 0); // no following relation @@ -480,7 +481,8 @@ describe('User', () => { await aAdmin.client.request('admin/suspend-user', { userId: alice.id }); // NOTE: user deletion query is slow - await sleep(4000); + // FIXME: ensure user is removed successfully + await sleep(10000); const following = await bob.client.request('users/following', { userId: bob.id }); strictEqual(following.length, 0); // no following relation |