increase TravisCI timeout to 20s
This commit is contained in:
@@ -32,7 +32,7 @@ module.exports.start = function (specsLocation, done) {
|
|||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
driver.get(url);
|
driver.get(url);
|
||||||
done();
|
done();
|
||||||
}, process.env.TRAVIS ? 10000 : 3000);
|
}, process.env.TRAVIS ? 20000 : 3000);
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports.close = function(){
|
module.exports.close = function(){
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ describe('swagger 1.x spec tests', function (done) {
|
|||||||
this.timeout(10 * 1000);
|
this.timeout(10 * 1000);
|
||||||
|
|
||||||
before(function (done) {
|
before(function (done) {
|
||||||
|
this.timeout(25 * 1000);
|
||||||
servers.start('/v1.2/petstore/api-docs', done);
|
servers.start('/v1.2/petstore/api-docs', done);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ describe('swagger 2.0 spec tests', function (done) {
|
|||||||
this.timeout(10 * 1000);
|
this.timeout(10 * 1000);
|
||||||
|
|
||||||
before(function (done) {
|
before(function (done) {
|
||||||
|
this.timeout(25 * 1000);
|
||||||
servers.start('/v2/petstore.json', done);
|
servers.start('/v2/petstore.json', done);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user