Skip to content

Commit 301b447

Browse files
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
1 parent 66b3a3a commit 301b447

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/google-cloud-asset/samples/quickstart.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async function main(assetNames) {
4949
console.log(util.inspect(result, {depth: null}));
5050
// [END asset_quickstart]
5151
}
52-
quickstart();
52+
await quickstart();
5353
}
5454

5555
main(...process.argv.slice(2));

0 commit comments

Comments
 (0)