This commit is contained in:
Danish Arora 2024-08-28 12:25:35 +05:30
parent fa7ab23725
commit 931073178c
No known key found for this signature in database
GPG Key ID: 1C6EF37CDAE1426E
2 changed files with 13 additions and 13 deletions

View File

@ -10,17 +10,17 @@ const config = {
retries: 4
};
if (process.env.CI) {
console.log("Running tests in parallel");
config.parallel = true;
config.jobs = 6;
console.log("Activating allure reporting");
config.reporter = 'mocha-multi-reporters';
config.reporterOptions = {
configFile: '.mocha.reporters.json'
};
} else {
console.log("Running tests serially. To enable parallel execution update mocha config");
}
// if (process.env.CI) {
// console.log("Running tests in parallel");
// config.parallel = true;
// config.jobs = 6;
// console.log("Activating allure reporting");
// config.reporter = 'mocha-multi-reporters';
// config.reporterOptions = {
// configFile: '.mocha.reporters.json'
// };
// } else {
// console.log("Running tests serially. To enable parallel execution update mocha config");
// }
module.exports = config;

View File

@ -24,7 +24,7 @@ import {
teardownNodesWithRedundancy
} from "../../src/index.js";
describe("Waku Filter: Peer Management: E2E", function () {
describe.only("Waku Filter: Peer Management: E2E", function () {
this.timeout(15000);
let waku: LightNode;
let serviceNodes: ServiceNodesFleet;