jenkins-bot has submitted this change and it was merged.

Change subject: Raised QUnit timeout
......................................................................


Raised QUnit timeout

Raised QUnit timeout in order to avoid timeout failures of the API tests
which may take more than 10 seconds.

Change-Id: I836e868b62e89ec0cbb783e425dd8750d34680c7
---
M lib/tests/qunit/data/testrunner.js
1 file changed, 3 insertions(+), 8 deletions(-)

Approvals:
  Addshore: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/lib/tests/qunit/data/testrunner.js 
b/lib/tests/qunit/data/testrunner.js
index 32993c2..0c4be81 100644
--- a/lib/tests/qunit/data/testrunner.js
+++ b/lib/tests/qunit/data/testrunner.js
@@ -1,19 +1,14 @@
 /**
- * Wikibase QUnit test environment
- * @see https://www.mediawiki.org/wiki/Extension:Wikibase
- *
- * @since 0.1
- * @file
- * @ingroup WikibaseLib
- *
  * @licence GNU GPL v2+
  * @author Daniel Werner
  * @author H. Snater < [email protected] >
  */
 
-( function ( $, mw, wb, QUnit, undefined ) {
+( function ( $, mw, wb, QUnit ) {
        'use strict';
 
+       QUnit.config.testTimeout = 30000;
+
        /**
         * Reset basic configuration for each test(); Makes sure that global 
configuration stuff and cached stuff will be
         * resetted befor each test. Also allows to set additional 'setup' and 
'teardown' commands.

-- 
To view, visit https://gerrit.wikimedia.org/r/89182
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I836e868b62e89ec0cbb783e425dd8750d34680c7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Henning Snater <[email protected]>
Gerrit-Reviewer: Addshore <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to