Changed slow setting on some tests
This commit is contained in:
+3
-3
@@ -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
@@ -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
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user