Skip to content
Permalink
Browse files

test: skipIfInspectorDisabled cluster-inspect-brk

When configured --without-ssl the inspect-brk option will not be
available and the process will exit with a exit value of 9 "Invalid
Argument/Bad option".

This commit adds a skipIfInspectorDisabled check since --without-ssl
implies that no inspector support is build as well.

PR-URL: #12757
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information...
danbev committed Apr 30, 2017
1 parent 595d4ec commit 10ccf56f89963a7abee81d9331a392101fdbf7f4
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/sequential/test-cluster-inspect-brk.js
@@ -1,5 +1,6 @@
'use strict';
const common = require('../common');
common.skipIfInspectorDisabled();

// A test to ensure that cluster properly interoperates with the
// --inspect-brk option.

0 comments on commit 10ccf56

Please sign in to comment.
You can’t perform that action at this time.