You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
397 B
14 lines
397 B
global.options = { heartbeat: 10 }; |
|
|
|
require('./harness').run(); |
|
|
|
connection.addListener('ready', function () { |
|
puts("connected to " + connection.serverProperties.product); |
|
|
|
assert.ok(connection._inboundHeartbeatTimer); |
|
assert.ok(connection._outboundHeartbeatTimer); |
|
|
|
connection.end(); |
|
assert.ok(!connection._inboundHeartbeatTimer); |
|
assert.ok(!connection._outboundHeartbeatTimer); |
|
});
|
|
|