Remove the timeout settings in each specific tests

This commit is contained in:
Christopher Jones 2018-04-03 07:42:39 +10:00
parent 2be16f8628
commit 33ec16a268
46 changed files with 27 additions and 47 deletions

View File

@ -38,7 +38,7 @@ var assist = require('./dataTypeAssist.js');
var random = require('./random.js');
describe('92.binding_DMLInsert.js', function() {
this.timeout(5000);
var connection = null;
var executeSql = function(sql, callback) {
connection.execute(

View File

@ -37,7 +37,6 @@ var dbConfig = require('./dbconfig.js');
var assist = require('./dataTypeAssist.js');
describe('98.binding_DMLReturningInto.js', function() {
this.timeout(5000);
var connection = null;
var executeSql = function(sql, callback) {
connection.execute(

View File

@ -37,7 +37,7 @@ var sql = require('./sql.js');
var dbConfig = require('./dbconfig.js');
describe('100.binding_defaultBindIn.js', function() {
this.timeout(5000);
var connection = null;
var executeSql = function(sql, callback) {
connection.execute(

View File

@ -37,7 +37,7 @@ var sql = require('./sql.js');
var dbConfig = require('./dbconfig.js');
describe('101.binding_defaultBindInout.js', function() {
this.timeout(5000);
var connection = null;
var executeSql = function(sql, callback) {
connection.execute(

View File

@ -37,7 +37,7 @@ var dbConfig = require('./dbconfig.js');
var assist = require('./dataTypeAssist.js');
describe('99.binding_functionBindIn.js', function() {
this.timeout(5000);
var connection = null;
var executeSql = function(sql, callback) {
connection.execute(

View File

@ -37,7 +37,7 @@ var dbConfig = require('./dbconfig.js');
var assist = require('./dataTypeAssist.js');
describe('95.binding_functionBindInout.js', function() {
this.timeout(5000);
var connection = null;
var executeSql = function(sql, callback) {
connection.execute(

View File

@ -37,7 +37,7 @@ var dbConfig = require('./dbconfig.js');
var assist = require('./dataTypeAssist.js');
describe('97.binding_functionBindOut.js', function() {
this.timeout(5000);
var connection = null;
var executeSql = function(sql, callback) {
connection.execute(

View File

@ -37,7 +37,7 @@ var dbConfig = require('./dbconfig.js');
var assist = require('./dataTypeAssist.js');
describe('93.binding_procedureBindIn.js', function() {
this.timeout(5000);
var connection = null;
var executeSql = function(sql, callback) {
connection.execute(

View File

@ -37,7 +37,7 @@ var dbConfig = require('./dbconfig.js');
var assist = require('./dataTypeAssist.js');
describe('94.binding_procedureBindInout.js', function() {
this.timeout(5000);
var connection = null;
var executeSql = function(sql, callback) {
connection.execute(

View File

@ -37,7 +37,7 @@ var dbConfig = require('./dbconfig.js');
var assist = require('./dataTypeAssist.js');
describe('96.binding_procedureBindOut.js', function() {
this.timeout(5000);
var connection = null;
var executeSql = function(sql, callback) {
connection.execute(

View File

@ -36,7 +36,6 @@ var fs = require('fs');
var assist = require('./dataTypeAssist.js');
describe('82.blobDMLBindAsBuffer.js', function() {
this.timeout(100000);
var connection = null;
var node6plus = false; // assume node runtime version is lower than 6

View File

@ -36,7 +36,7 @@ var random = require('./random.js');
var assist = require('./dataTypeAssist.js');
describe('77. blobPlsqlBindAsBuffer_bindin.js', function() {
this.timeout(100000);
var connection = null;
var node6plus = false; // assume node runtime version is lower than 6
var insertID = 1; // assume id for insert into db starts from 1

View File

@ -36,7 +36,7 @@ var random = require('./random.js');
var assist = require('./dataTypeAssist.js');
describe('79. blobPlsqlBindAsBuffer_bindinout.js', function() {
this.timeout(100000);
var connection = null;
var node6plus = false; // assume node runtime version is lower than 6
var insertID = 1; // assume id for insert into db starts from 1

View File

@ -37,7 +37,7 @@ var random = require('./random.js');
var assist = require('./dataTypeAssist.js');
describe('78. blobPlsqlBindAsBuffer_bindout.js', function() {
this.timeout(100000);
var connection = null;
var node6plus = false; // assume node runtime version is lower than 6
var insertID = 1; // assume id for insert into db starts from 1

View File

@ -35,7 +35,6 @@ var dbConfig = require('./dbconfig.js');
var random = require('./random.js');
describe('81. clobDMLBindAsString.js', function() {
this.timeout(100000);
var connection = null;
var insertID = 1; // assume id for insert into db starts from 1

View File

@ -34,7 +34,6 @@ var dbConfig = require('./dbconfig.js');
var sql = require('./sql.js');
describe('135. clobDMLReturningMultipleRowsAsStream.js', function() {
this.timeout(10000);
var connection = null;
var tableName = "nodb_dml_clob_135";

View File

@ -35,7 +35,6 @@ var fs = require('fs');
var random = require('./random.js');
describe('74. clobPlsqlBindAsString_bindin.js', function() {
this.timeout(100000);
var connection = null;
var insertID = 1; // assume id for insert into db starts from 1

View File

@ -35,7 +35,6 @@ var fs = require('fs');
var random = require('./random.js');
describe('76. clobPlsqlBindAsString_bindinout.js', function() {
this.timeout(100000);
var connection = null;
var insertID = 1; // assume id for insert into db starts from 1

View File

@ -36,7 +36,6 @@ var file = require('./file.js');
var random = require('./random.js');
describe('75. clobPlsqlBindAsString_bindout.js', function() {
this.timeout(100000);
var connection = null;
var insertID = 1; // assume id for insert into db starts from 1

View File

@ -43,7 +43,6 @@ var inFileName = './test/fuzzydinosaur.jpg'; // contains the image to be insert
var outFileName = './test/blobstreamout.jpg';
describe('41. dataTypeBlob.js', function() {
this.timeout(20000);
var connection = null;
var nodever6 = false;

View File

@ -44,7 +44,6 @@ var inFileName = './test/clobexample.txt'; // the file with text to be inserted
var outFileName = './test/clobstreamout.txt';
describe('40. dataTypeClob.js', function() {
this.timeout(10000);
var connection = null;
var tableName = "nodb_myclobs";

View File

@ -35,7 +35,6 @@ var assist = require('./dataTypeAssist.js');
var random = require('./random.js');
describe('123. dataTypeNclob.js', function() {
this.timeout(10000);
var connection = null;
var tableName = "nodb_nclob";

View File

@ -37,7 +37,7 @@ var random = require('./random.js');
var assist = require('./dataTypeAssist.js');
describe('87. fetchBlobAsBuffer1.js', function() {
this.timeout(100000);
var connection = null;
var node6plus = false; // assume node runtime version is lower than 6
var insertID = 1; // assume id for insert into db starts from 1

View File

@ -37,7 +37,7 @@ var random = require('./random.js');
var assist = require('./dataTypeAssist.js');
describe('88. fetchBlobAsBuffer2.js', function() {
this.timeout(100000);
var connection = null;
var node6plus = false; // assume node runtime version is lower than 6
var insertID = 1; // assume id for insert into db starts from 1

View File

@ -36,7 +36,7 @@ var random = require('./random.js');
var assist = require('./dataTypeAssist.js');
describe('89. fetchBlobAsBuffer3.js', function() {
this.timeout(100000);
var connection = null;
var node6plus = false; // assume node runtime version is lower than 6
var insertID = 1; // assume id for insert into db starts from 1

View File

@ -35,7 +35,6 @@ var random = require('./random.js');
var assist = require('./dataTypeAssist.js');
describe('91. fetchBlobAsBuffer4.js', function() {
this.timeout(100000);
var connection = null;
var insertID = 1; // assume id for insert into db starts from 1

View File

@ -37,7 +37,7 @@ var dbConfig = require('./dbconfig.js');
var random = require('./random.js');
describe('84. fetchClobAsString1.js', function() {
this.timeout(100000);
var connection = null;
var insertID = 1; // assume id for insert into db starts from 1
var inFileName = './test/clobTmpFile.txt';

View File

@ -37,7 +37,7 @@ var dbConfig = require('./dbconfig.js');
var random = require('./random.js');
describe('85. fetchClobAsString2.js', function() {
this.timeout(100000);
var connection = null;
var insertID = 1; // assume id for insert into db starts from 1
var inFileName = './test/clobTmpFile.txt';

View File

@ -36,7 +36,7 @@ var dbConfig = require('./dbconfig.js');
var random = require('./random.js');
describe('86. fetchClobAsString3.js', function() {
this.timeout(100000);
var connection = null;
var insertID = 1; // assume id for insert into db starts from 1
var proc_create_table2 = "BEGIN \n" +

View File

@ -34,7 +34,6 @@ var dbConfig = require('./dbconfig.js');
var random = require('./random.js');
describe('90. fetchClobAsString4.js', function() {
this.timeout(100000);
var connection = null;
var insertID = 1; // assume id for insert into db starts from 1

View File

@ -36,7 +36,7 @@ var random = require('./random.js');
var sql = require('./sql.js');
describe('125. longDMLBind.js', function() {
this.timeout(100000);
var connection = null;
var tableName = "nodb_long";
var insertID = 0;

View File

@ -36,7 +36,7 @@ var random = require('./random.js');
var sql = require('./sql.js');
describe('131. longProcedureBind_in.js', function() {
this.timeout(100000);
var connection = null;
var tableName = "nodb_long_128";
var insertID = 0;

View File

@ -36,7 +36,7 @@ var random = require('./random.js');
var sql = require('./sql.js');
describe('129. longProcedureBind_inout.js', function() {
this.timeout(100000);
var connection = null;
var tableName = "nodb_long_129";
var insertID = 0;

View File

@ -36,7 +36,7 @@ var random = require('./random.js');
var sql = require('./sql.js');
describe('130. longProcedureBind_out.js', function() {
this.timeout(100000);
var connection = null;
var tableName = "nodb_long_130";
var insertID = 0;

View File

@ -37,7 +37,7 @@ var sql = require('./sql.js');
var assist = require('./dataTypeAssist.js');
describe('126. longrawDMLBind.js', function() {
this.timeout(100000);
var connection = null;
var tableName = "nodb_longraw";
var node6plus = false; // assume node runtime version is lower than 6

View File

@ -37,7 +37,7 @@ var sql = require('./sql.js');
var assist = require('./dataTypeAssist.js');
describe('132. longrawProcedureBind_in.js', function() {
this.timeout(100000);
var connection = null;
var tableName = "nodb_longraw_132";
var insertID = 0;

View File

@ -37,7 +37,7 @@ var sql = require('./sql.js');
var assist = require('./dataTypeAssist.js');
describe('133. longrawProcedureBind_inout.js', function() {
this.timeout(100000);
var connection = null;
var tableName = "nodb_longraw_133";
var insertID = 0;

View File

@ -37,7 +37,7 @@ var sql = require('./sql.js');
var assist = require('./dataTypeAssist.js');
describe('134. longrawProcedureBind_out.js', function() {
this.timeout(100000);
var connection = null;
var tableName = "nodb_longraw_134";
var insertID = 0;

View File

@ -35,7 +35,6 @@ var assist = require('./dataTypeAssist.js');
var random = require('./random.js');
describe('124. nclobDMLBindAsString.js', function() {
this.timeout(10000);
var connection = null;
var tableName = "nodb_nclob";

View File

@ -663,7 +663,6 @@ describe('2. pool.js', function() {
});
describe('2.8 connection request queue (basic functionality)', function(){
this.timeout(0);
function getBlockingSql(secondsToBlock) {
var blockingSql = '' +

View File

@ -361,7 +361,7 @@ describe('67. poolCache.js', function() {
});
it('67.1.13 Negative: callback is called with function(err)', function(done) {
this.timeout(10000);
oracledb.createPool({ // this becomes the default pool
user : dbConfig.user,
password : 'wrongpassword',

View File

@ -1045,7 +1045,6 @@ describe('12. resultSet1.js', function() {
});
describe('12.6 Testing metaData', function() {
this.timeout(0);
it('12.6.1 the amount and value of metaData should be correct', function(done) {
connection.should.be.ok();

View File

@ -374,7 +374,6 @@ describe('107. rowidDMLBindAsString.js', function() {
describe('107.4 WHERE', function() {
it('107.4.1 can bind in WHERE clause', function(done) {
this.timeout(10000);
where_select(done);
});
});

View File

@ -37,8 +37,6 @@ var nodeMajorVersion = Number(process.versions.node.split('.')[0]);
describe('13. stream1.js', function () {
this.timeout(100000);
var connection = null;
var rowsAmount = 217;

View File

@ -33,7 +33,6 @@ var async = require('async');
var dbConfig = require('./dbconfig.js');
describe('14. stream2.js', function() {
this.timeout(10000);
var connection = null;
var rowsAmount = 217;

View File

@ -374,7 +374,6 @@ describe('114. urowidDMLBindAsString1.js', function() {
describe('107.4 WHERE', function() {
it('107.4.1 can bind in WHERE clause', function(done) {
this.timeout(10000);
where_select(done);
});
});