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
+3 -3
View File
@@ -94,12 +94,12 @@ function clientSession(sock, options) {
* @param func callback(err, session)
*/
function client(options, callback) {
var sock = new net.Socket();
if (typeof options === 'function') {
callback = options;
options = {};
}
var sock = new net.Socket();
// Set default options
options = merge({
@@ -129,4 +129,4 @@ function client(options, callback) {
}
// Expose some functions
exports = module.exports = client;
exports = module.exports = client;
+2 -2
View File
@@ -4,7 +4,7 @@ var larvitsmpp = require('../larvitsmpp'),
assert = require('assert');
describe('PDU convertion', function() {
this.slow(2);
this.slow(20);
describe('No TLVs', function() {
it('should build a PDU buffer for bind_transceiver_resp with error correctly', function(done) {
@@ -426,4 +426,4 @@ describe('PDU convertion', function() {
});
});
});
});
+1 -1
View File
@@ -15,7 +15,7 @@ function checkuserpass(username, password, callback) {
}
describe('Sessions', function() {
this.slow(2);
this.slow(200);
it('should setup a basic server and client and then directly unbinding again', function(done) {
portfinder.getPort(function(err, freePort) {