Updated Runner Config

This commit is contained in:
Dunemask 2022-08-06 13:13:44 +00:00
parent 66dbd05558
commit deb44a8177
3 changed files with 11 additions and 3 deletions

View file

@ -1,11 +1,13 @@
import axios from "axios";
import primary from "./primary.js";
import secondary from "./secondary.js";
import tertiary from "./tertiary.js";
import single from "./single.js";
import failing from "./failing.js";
// Constants
const endLiveCount = 5;
const liveUpdateDelay = 100;
const endLiveCount = 20;
const reportingUrl = `${process.env.QUALITEER_URL}/api/dev/rabbit/TestResults`;
// Pull args
const args = process.argv.slice(2);
@ -33,6 +35,8 @@ const runTests = () => {
return primary();
case "secondary":
return secondary(pipelineData);
case "tertiary":
return tertiary(pipelineData);
case "single":
return single();
case "failing":
@ -57,4 +61,4 @@ setTimeout(() => {
}).then(()=>{
if(status.status === 1) process.exit(1);
});
}, endLiveCount * 1000);
}, endLiveCount * liveUpdateDelay);