From 648be01ffcf7d9b9602721a91f1b6d71ef3ae0b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alvaro=20Cabrera=20Dur=C3=A1n?= <pateketrueke@gmail.com>
Date: Wed, 9 Oct 2019 22:34:55 -0500
Subject: [PATCH] Add support for timeout no test definitions

---
 tests/schema/core/issues/issue-329.json | 2 +-
 tests/schema/main.spec.js               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/schema/core/issues/issue-329.json b/tests/schema/core/issues/issue-329.json
index f8ea44e8..a6238a57 100644
--- a/tests/schema/core/issues/issue-329.json
+++ b/tests/schema/core/issues/issue-329.json
@@ -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",
diff --git a/tests/schema/main.spec.js b/tests/schema/main.spec.js
index 88840a36..f1415467 100644
--- a/tests/schema/main.spec.js
+++ b/tests/schema/main.spec.js
@@ -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));
     });
   });
 });
-- 
GitLab