Quellcode durchsuchen

increase TravisCI timeout to 20s

bubble
Mohsen Azimi vor 9 Jahren
Ursprung
Commit
b30c99dd63
3 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      test/e2e/servers.js
  2. +1
    -0
      test/e2e/v1.js
  3. +1
    -0
      test/e2e/v2.js

+ 1
- 1
test/e2e/servers.js Datei anzeigen

@@ -32,7 +32,7 @@ module.exports.start = function (specsLocation, done) {
setTimeout(function(){
driver.get(url);
done();
}, process.env.TRAVIS ? 10000 : 3000);
}, process.env.TRAVIS ? 20000 : 3000);
};

module.exports.close = function(){


+ 1
- 0
test/e2e/v1.js Datei anzeigen

@@ -17,6 +17,7 @@ describe('swagger 1.x spec tests', function (done) {
this.timeout(10 * 1000);

before(function (done) {
this.timeout(25 * 1000);
servers.start('/v1.2/petstore/api-docs', done);
});



+ 1
- 0
test/e2e/v2.js Datei anzeigen

@@ -18,6 +18,7 @@ describe('swagger 2.0 spec tests', function (done) {
this.timeout(10 * 1000);

before(function (done) {
this.timeout(25 * 1000);
servers.start('/v2/petstore.json', done);
});



Laden…
Abbrechen
Speichern