From 042b59496065f39f1b2d128ef294ac329c7c975c Mon Sep 17 00:00:00 2001 From: Jacob Mischka Date: Wed, 7 Dec 2022 13:21:35 -0600 Subject: [PATCH] Fix some flaky tests for forced peer mode --- src/examples/basic/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/examples/basic/index.ts b/src/examples/basic/index.ts index 6ef2bd9..701f5d1 100644 --- a/src/examples/basic/index.ts +++ b/src/examples/basic/index.ts @@ -622,7 +622,8 @@ const interval = new Interval({ }, logs: async (_, ctx) => { for (let i = 0; i < 10; i++) { - ctx.log('Log number', i) + await ctx.log('Log number', i) + await sleep(500) } }, logTest: async (io, ctx) => {