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