Skip to content
Snippets Groups Projects
Commit 648be01f authored by Alvaro Cabrera Durán's avatar Alvaro Cabrera Durán
Browse files

Add support for timeout no test definitions

parent 8f95bb39
Branches
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
"tests": [
{
"description": "should resolve the schema (without $refs)",
"skip": true,
"timeout": 30000,
"schema": {
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_2_0.json",
"title": "#AccountService.v1_2_1.AccountService",
......
......@@ -65,7 +65,7 @@ function seed() {
console.log('---> Used seeds:', seeds.slice(-10).join(', ') || test.seed);
throw e;
});
}).timeout(process.CI ? 30000 : 10000);
}).timeout(suite.timeout || test.timeout || (process.CI ? 30000 : 10000));
});
});
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment