]> khamidou — GitHub mirrors - electron.git/commitdiff
The crash-reporter test is not reliable on CI machine
authorCheng Zhao <zcbenz@gmail.com>
Tue, 15 Sep 2015 06:43:11 +0000 (14:43 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 15 Sep 2015 06:43:11 +0000 (14:43 +0800)
spec/api-crash-reporter-spec.coffee

index 1d34fe4414129b11a6fafd55afb800b12a19976b..60b630bc2ffce40b9381095a8f6973ad4475a983 100644 (file)
@@ -18,6 +18,10 @@ describe 'crash-reporter module', ->
   # It is not working on 64bit Windows.
   return if process.platform is 'win32' and process.arch is 'x64'
 
+  # The crash-reporter test is not reliable on CI machine.
+  isCI = remote.process.argv[2] == '--ci'
+  return if isCI
+
   it 'should send minidump when renderer crashes', (done) ->
     @timeout 120000
     server = http.createServer (req, res) ->