From a438fbc05360930b7e9965af2f7ee4212148199c Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 26 Apr 2021 21:16:38 -0700 Subject: [PATCH] test: fix flaky inspector-cli/test-inspector-cli-pid on AIX Sometimes, there isn't a newine in the AIX output that already has a comment indicating it needs investigation. --- test/inspector-cli/test-inspector-cli-pid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/inspector-cli/test-inspector-cli-pid.js b/test/inspector-cli/test-inspector-cli-pid.js index 92c81177650af3..33b35472f4e819 100644 --- a/test/inspector-cli/test-inspector-cli-pid.js +++ b/test/inspector-cli/test-inspector-cli-pid.js @@ -49,7 +49,7 @@ function launchTarget(...args) { // .then(() => cli.waitForPrompt()) // // What we're diong for now: - .then(() => cli.waitFor(/>\s+(?:\n1 breakpoints restored\.)?$/)) + .then(() => cli.waitFor(/>\s+(?:\n?1 breakpoints restored\.)?$/)) .then(() => { assert.match( cli.output,