Merge pull request #9476 from electron/disable-crash-specs-on-linux
Disable crashReporter specs on Linux CI
This commit is contained in:
commit
5b6b1707ad
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue