]> khamidou — GitHub mirrors - electron.git/commitdiff
Make timeout longer for some could-be-slow specs.
authorCheng Zhao <zcbenz@gmail.com>
Wed, 7 May 2014 15:12:24 +0000 (23:12 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 7 May 2014 15:12:24 +0000 (23:12 +0800)
spec/api-crash-reporter-spec.coffee
spec/chromium-spec.coffee

index 999b54ce3000cf1fa69f2d4a72c476dfe683900d..4a7cff6ccd06e10dccf8a73c2ac21adcd5efe320 100644 (file)
@@ -15,6 +15,7 @@ describe 'crash-reporter module', ->
   afterEach -> w.destroy()
 
   it 'should send minidump when renderer crashes', (done) ->
+    @timeout 5000
     server = http.createServer (req, res) ->
       form = new formidable.IncomingForm()
       process.throwDeprecation = false
index f9be63079eafe1377d19f757df3260b5c9163be4..efbd7da0a25519663add09ce82db3c938df49a86 100644 (file)
@@ -10,6 +10,7 @@ describe 'chromium feature', ->
 
   describe 'sending request of http protocol urls', ->
     it 'does not crash', ->
+      @timeout 5000
       $.get 'https://api.github.com/zen'
 
   describe 'navigator.webkitGetUserMedia', ->