Merge pull request #11254 from electron/fix-11246
Enable crashReporter module tests
This commit is contained in:
commit
2d75eea82a
1 changed files with 8 additions and 16 deletions
|
@ -52,14 +52,12 @@ describe('crashReporter module', () => {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
// TODO(alexeykuzmin): Disabled during Chromium 61 upgrade.
|
it('should send minidump when renderer crashes', function (done) {
|
||||||
// It times out on Linux. Fix it and enable.
|
|
||||||
xit('should send minidump when renderer crashes', function (done) {
|
|
||||||
// TODO(alexeykuzmin): Skip the test instead of marking it as passed.
|
// TODO(alexeykuzmin): Skip the test instead of marking it as passed.
|
||||||
if (process.env.APPVEYOR === 'True') return done()
|
if (process.env.APPVEYOR === 'True') return done()
|
||||||
if (process.env.TRAVIS === 'true') return done()
|
if (process.env.TRAVIS === 'true') return done()
|
||||||
|
|
||||||
this.timeout(120000)
|
this.timeout(180000)
|
||||||
|
|
||||||
stopServer = startServer({
|
stopServer = startServer({
|
||||||
callback (port) {
|
callback (port) {
|
||||||
|
@ -75,14 +73,12 @@ describe('crashReporter module', () => {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
// TODO(alexeykuzmin): Disabled during Chromium 61 upgrade.
|
it('should send minidump when node processes crash', function (done) {
|
||||||
// It times out on Linux. Fix it and enable.
|
|
||||||
xit('should send minidump when node processes crash', function (done) {
|
|
||||||
// TODO(alexeykuzmin): Skip the test instead of marking it as passed.
|
// TODO(alexeykuzmin): Skip the test instead of marking it as passed.
|
||||||
if (process.env.APPVEYOR === 'True') return done()
|
if (process.env.APPVEYOR === 'True') return done()
|
||||||
if (process.env.TRAVIS === 'true') return done()
|
if (process.env.TRAVIS === 'true') return done()
|
||||||
|
|
||||||
this.timeout(120000)
|
this.timeout(180000)
|
||||||
|
|
||||||
stopServer = startServer({
|
stopServer = startServer({
|
||||||
callback (port) {
|
callback (port) {
|
||||||
|
@ -111,10 +107,8 @@ describe('crashReporter module', () => {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
// TODO(alexeykuzmin): Disabled during Chromium 61 upgrade.
|
it('should not send minidump if uploadToServer is false', function (done) {
|
||||||
// Fix it and enable.
|
this.timeout(180000)
|
||||||
xit('should not send minidump if uploadToServer is false', function (done) {
|
|
||||||
this.timeout(120000)
|
|
||||||
|
|
||||||
let dumpFile
|
let dumpFile
|
||||||
let crashesDir = crashReporter.getCrashesDirectory()
|
let crashesDir = crashReporter.getCrashesDirectory()
|
||||||
|
@ -175,14 +169,12 @@ describe('crashReporter module', () => {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
// TODO(alexeykuzmin): Disabled during Chromium 61 upgrade.
|
it('should send minidump with updated extra parameters', function (done) {
|
||||||
// It times out on Linux. Fix it and enable.
|
|
||||||
xit('should send minidump with updated extra parameters', function (done) {
|
|
||||||
// TODO(alexeykuzmin): Skip the test instead of marking it as passed.
|
// TODO(alexeykuzmin): Skip the test instead of marking it as passed.
|
||||||
if (process.env.APPVEYOR === 'True') return done()
|
if (process.env.APPVEYOR === 'True') return done()
|
||||||
if (process.env.TRAVIS === 'true') return done()
|
if (process.env.TRAVIS === 'true') return done()
|
||||||
|
|
||||||
this.timeout(120000)
|
this.timeout(180000)
|
||||||
|
|
||||||
stopServer = startServer({
|
stopServer = startServer({
|
||||||
callback (port) {
|
callback (port) {
|
||||||
|
|
Loading…
Reference in a new issue