Bug 1133747 - Fix intermittent test_WebCrypto_Reject_Generating_Keys_Without_Usages.html failures by requesting a longer timeout. r=rbarnes, a=test-only
authorTim Taubert <ttaubert@mozilla.com>
Fri, 22 May 2015 01:56:18 -0400
changeset 266117 9abcdd8e7712
parent 266116 887a153499b4
child 266118 f3259a2d48bc
push id4759
push userryanvm@gmail.com
push date2015-05-27 15:14 +0000
treeherdermozilla-beta@9abcdd8e7712 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrbarnes, test-only
bugs1133747
milestone39.0
Bug 1133747 - Fix intermittent test_WebCrypto_Reject_Generating_Keys_Without_Usages.html failures by requesting a longer timeout. r=rbarnes, a=test-only
dom/crypto/test/test_WebCrypto_Reject_Generating_Keys_Without_Usages.html
--- a/dom/crypto/test/test_WebCrypto_Reject_Generating_Keys_Without_Usages.html
+++ b/dom/crypto/test/test_WebCrypto_Reject_Generating_Keys_Without_Usages.html
@@ -17,16 +17,19 @@
 <script src="./test-vectors.js"></script>
 
 <!-- General testing framework -->
 <script src="./test-array.js"></script>
 
 <script>/*<![CDATA[*/
 "use strict";
 
+// Generating 2048-bit keys takes some time.
+SimpleTest.requestLongerTimeout(2);
+
 TestArray.addTest(
   "Test that we reject generating keys without any usage",
   function() {
     var that = this;
     var alg = {
       name: "RSA-OAEP",
       hash: "SHA-256",
       modulusLength: 2048,