1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 07:35:57 +09:00

fix flaky test

This commit is contained in:
syuilo 2023-10-04 11:56:47 +09:00
parent 3dd84f7824
commit cc4fd6b5c5

View File

@ -729,6 +729,7 @@ describe('Timelines', () => {
const [alice, bob] = await Promise.all([signup(), signup()]);
await api('/following/create', { userId: bob.id }, alice);
await sleep(1000);
const bobNote = await post(bob, { text: 'hi', visibility: 'followers' });
await sleep(100); // redisに追加されるのを待つ