Skip to content

Commit

Permalink
test: address flaky test (#573)
Browse files Browse the repository at this point in the history
Not really sure why the test is flaky.  Maybe without the await
statement, the process exist before the console is written to.

Fixies #565
  • Loading branch information
SurferJeffAtGoogle authored Oct 28, 2021
1 parent cebae70 commit 1b2f872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/google-cloud-asset/samples/quickstart.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));

0 comments on commit 1b2f872

Please sign in to comment.