Changed slow setting on some tests

This commit is contained in:
2016-06-23 11:34:13 +02:00
parent f3f3ddf634
commit 8c8a33ac81
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -94,13 +94,13 @@ function clientSession(sock, options) {
* @param func callback(err, session) * @param func callback(err, session)
*/ */
function client(options, callback) { function client(options, callback) {
var sock = new net.Socket();
if (typeof options === 'function') { if (typeof options === 'function') {
callback = options; callback = options;
options = {}; options = {};
} }
var sock = new net.Socket();
// Set default options // Set default options
options = merge({ options = merge({
'host': 'localhost', 'host': 'localhost',
+1 -1
View File
@@ -4,7 +4,7 @@ var larvitsmpp = require('../larvitsmpp'),
assert = require('assert'); assert = require('assert');
describe('PDU convertion', function() { describe('PDU convertion', function() {
this.slow(2); this.slow(20);
describe('No TLVs', function() { describe('No TLVs', function() {
it('should build a PDU buffer for bind_transceiver_resp with error correctly', function(done) { it('should build a PDU buffer for bind_transceiver_resp with error correctly', function(done) {
+1 -1
View File
@@ -15,7 +15,7 @@ function checkuserpass(username, password, callback) {
} }
describe('Sessions', function() { describe('Sessions', function() {
this.slow(2); this.slow(200);
it('should setup a basic server and client and then directly unbinding again', function(done) { it('should setup a basic server and client and then directly unbinding again', function(done) {
portfinder.getPort(function(err, freePort) { portfinder.getPort(function(err, freePort) {