aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/test/health_test.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/test/health_test.js')
-rw-r--r--src/node/test/health_test.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node/test/health_test.js b/src/node/test/health_test.js
index 93b068be31..be4ef1d251 100644
--- a/src/node/test/health_test.js
+++ b/src/node/test/health_test.js
@@ -54,7 +54,8 @@ describe('Health Checking', function() {
new health.Implementation(statusMap));
var healthClient;
before(function() {
- var port_num = healthServer.bind('0.0.0.0:0');
+ var port_num = healthServer.bind('0.0.0.0:0',
+ grpc.ServerCredentials.createInsecure());
healthServer.start();
healthClient = new health.Client('localhost:' + port_num,
grpc.Credentials.createInsecure());