fix: make sleep longer again
This commit is contained in:
parent
b19486a8e8
commit
55b997dbb3
|
@ -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
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue