Skip to content
This repository was archived by the owner on Sep 7, 2018. It is now read-only.
This repository was archived by the owner on Sep 7, 2018. It is now read-only.

buster-ci should shutdown all browsers if the process exits unexpectedly #447

@GCheung55

Description

@GCheung55

When buster-ci is exited while tests are running, the agents (browser spawned process) is left open.

Subsequent execution of buster-ci is unaware of the agents. When buster-ci runs to the end and exits, the agents do not close and buster-ci exits the process with code 1.

I'm proposing that an exit event handler is attached to the buster-ci process to close agents if they remain open.

Some documentation on the process exit event: http://nodejs.org/api/process.html#process_event_exit

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions