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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions