Skip to content

Commit

Permalink
fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo committed Oct 4, 2023
1 parent 3dd84f7 commit cc4fd6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/backend/test/e2e/timelines.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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に追加されるのを待つ
Expand Down

0 comments on commit cc4fd6b

Please sign in to comment.