fix relaunch on linux (#14975)

* chore: re-enable relaunch test for Linux

* fix: relauncher_linux listening for parent exit
This commit is contained in:
Charles Kerr 2018-10-04 18:41:37 -05:00 committed by GitHub
parent 53d3a96489
commit 9d4818c784
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 31 deletions

View file

@ -217,14 +217,6 @@ describe('app module', () => {
let server = null
const socketPath = process.platform === 'win32' ? '\\\\.\\pipe\\electron-app-relaunch' : '/tmp/electron-app-relaunch'
// TODO(alexeykuzmin): [Ch68] Fails on Linux.
// Enable the test back.
before(function () {
if (process.platform === 'linux') {
this.skip()
}
})
beforeEach(done => {
fs.unlink(socketPath, () => {
server = net.createServer()