Merge pull request #9476 from electron/disable-crash-specs-on-linux

Disable crashReporter specs on Linux CI
This commit is contained in:
Kevin Sawicki 2017-05-15 12:19:00 -07:00 committed by GitHub
commit 5b6b1707ad

View file

@ -9,6 +9,7 @@ const url = require('url')
const {closeWindow} = require('./window-helpers')
const {remote} = require('electron')
const isCI = remote.getGlobal('isCi')
const {app, BrowserWindow, crashReporter} = remote.require('electron')
describe('crashReporter module', function () {
@ -16,6 +17,12 @@ describe('crashReporter module', function () {
return
}
// FIXME internal Linux CI is failing when it detects a process crashes
// which is a false positive here since crashes are explicitly triggered
if (isCI && process.platform === 'linux') {
return
}
var originalTempDirectory = null
var tempDirectory = null