From 7528ca6106106c7d43378c75decd416dfb7f757f Mon Sep 17 00:00:00 2001 From: Kyle Farnung Date: Wed, 31 May 2017 14:31:53 -0700 Subject: [PATCH] test: fixing test breaks * Marked async-wrap test flaky * Fixed inspector test which tries to enable Profiler PR-URL: https://github.com/nodejs/node-chakracore/pull/277 Reviewed-By: Kunal Pathak --- test/inspector/test-inspector-debug-brk.js | 18 ++++++++++++------ test/parallel/parallel.status | 1 + 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/test/inspector/test-inspector-debug-brk.js b/test/inspector/test-inspector-debug-brk.js index a5cb77250de..4218d363acd 100644 --- a/test/inspector/test-inspector-debug-brk.js +++ b/test/inspector/test-inspector-debug-brk.js @@ -25,14 +25,20 @@ function testBreakpointOnStart(session) { { 'method': 'Debugger.setPauseOnExceptions', 'params': {'state': 'none'} }, { 'method': 'Debugger.setAsyncCallStackDepth', - 'params': {'maxDepth': 0} }, - { 'method': 'Profiler.enable' }, - { 'method': 'Profiler.setSamplingInterval', - 'params': {'interval': 100} }, + 'params': {'maxDepth': 0} } + ]; + + if (process.jsEngine !== 'chakracore') { + commands.push( + { 'method': 'Profiler.enable' }, + { 'method': 'Profiler.setSamplingInterval', + 'params': {'interval': 100} }); + } + + commands.push( { 'method': 'Debugger.setBlackboxPatterns', 'params': {'patterns': []} }, - { 'method': 'Runtime.runIfWaitingForDebugger' } - ]; + { 'method': 'Runtime.runIfWaitingForDebugger' }); session .sendInspectorCommands(commands) diff --git a/test/parallel/parallel.status b/test/parallel/parallel.status index 8a7024b6408..3dc4689f7cd 100644 --- a/test/parallel/parallel.status +++ b/test/parallel/parallel.status @@ -29,6 +29,7 @@ test-fs-watch-encoding : FAIL, PASS [$jsEngine==chakracore] test-assert-checktag : PASS,FLAKY test-async-wrap-getasyncid : PASS,FLAKY +test-async-wrap-promise-after-enabled : PASS,FLAKY test-buffer-bindingobj-no-zerofill : PASS,FLAKY test-buffer-sharedarraybuffer : PASS,FLAKY test-child-process-promisified : PASS,FLAKY