From e5d9ed44ea82ce432c439661e4e90f11c0ca44f3 Mon Sep 17 00:00:00 2001 From: Jeffrey Rennie Date: Thu, 28 Oct 2021 08:47:27 -0700 Subject: [PATCH] test: address flaky test (#573) Not really sure why the test is flaky. Maybe without the await statement, the process exist before the console is written to. Fixies #565 --- asset/snippets/quickstart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asset/snippets/quickstart.js b/asset/snippets/quickstart.js index 11bc75706db..ef8d3cb17d2 100644 --- a/asset/snippets/quickstart.js +++ b/asset/snippets/quickstart.js @@ -49,7 +49,7 @@ async function main(assetNames) { console.log(util.inspect(result, {depth: null})); // [END asset_quickstart] } - quickstart(); + await quickstart(); } main(...process.argv.slice(2));