File tree 1 file changed +4
-2
lines changed
packages/backend/test-federation/test
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -381,7 +381,8 @@ describe('User', () => {
381
381
382
382
await alice . client . request ( 'i/delete-account' , { password : alice . password } ) ;
383
383
// NOTE: user deletion query is slow
384
- await sleep ( 4000 ) ;
384
+ // FIXME: ensure user is removed successfully
385
+ await sleep ( 10000 ) ;
385
386
386
387
const following = await bob . client . request ( 'users/following' , { userId : bob . id } ) ;
387
388
strictEqual ( following . length , 0 ) ; // no following relation
@@ -480,7 +481,8 @@ describe('User', () => {
480
481
481
482
await aAdmin . client . request ( 'admin/suspend-user' , { userId : alice . id } ) ;
482
483
// NOTE: user deletion query is slow
483
- await sleep ( 4000 ) ;
484
+ // FIXME: ensure user is removed successfully
485
+ await sleep ( 10000 ) ;
484
486
485
487
const following = await bob . client . request ( 'users/following' , { userId : bob . id } ) ;
486
488
strictEqual ( following . length , 0 ) ; // no following relation
You can’t perform that action at this time.
0 commit comments