From 331ec8abca80fdf1c5b15796a2f5b194ff41a202 Mon Sep 17 00:00:00 2001 From: kirrg001 Date: Fri, 19 Jul 2024 09:08:53 +0200 Subject: [PATCH] test: fixed missing await --- .../collector/test/tracing/protocols/http/client/sdkApp1.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/collector/test/tracing/protocols/http/client/sdkApp1.js b/packages/collector/test/tracing/protocols/http/client/sdkApp1.js index 59ed1b56a0..feeb63d231 100644 --- a/packages/collector/test/tracing/protocols/http/client/sdkApp1.js +++ b/packages/collector/test/tracing/protocols/http/client/sdkApp1.js @@ -34,11 +34,12 @@ const app = async () => { let count = 0; while (count < 2) { - main(); + // eslint-disable-next-line no-await-in-loop + await main(); count += 1; // eslint-disable-next-line no-await-in-loop - await delay(1000); + await delay(500); } };