kopia lustrzana https://github.com/c9/core
Add stress parameter to keep refreshing until the test fails. Made npm run ctest work without auth
rodzic
f7114a46b8
commit
dd708342df
|
@ -337,6 +337,10 @@
|
||||||
function done(err) {
|
function done(err) {
|
||||||
console.log("/" + Array(20).join("-"));
|
console.log("/" + Array(20).join("-"));
|
||||||
console.log("finished running " + (i - 1) + " tests from " + all.length + ". In " + (Date.now() - t) + "ms");
|
console.log("finished running " + (i - 1) + " tests from " + all.length + ". In " + (Date.now() - t) + "ms");
|
||||||
|
if (!err && document.URL.indexOf("stress=1") >= 0) {
|
||||||
|
console.log("Stress testing and found no errors so reloading");
|
||||||
|
location.reload();
|
||||||
|
}
|
||||||
callback && callback(err);
|
callback && callback(err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue