Skip to content

GRAFTED: .scoped_state() in Job, Split of "WAR: poll_for, plus some test disables, green OSS CI"#3214

Open
mariusae wants to merge 1 commit intogh/mariusae/325/basefrom
gh/mariusae/325/head
Open

GRAFTED: .scoped_state() in Job, Split of "WAR: poll_for, plus some test disables, green OSS CI"#3214
mariusae wants to merge 1 commit intogh/mariusae/325/basefrom
gh/mariusae/325/head

Conversation

…est disables, green OSS CI"

add a context manager so that with `job.scoped_state() as state:`  gives you the job state but then kills the job when the job finishes. Use it in the tests so that we no longer spawn a bunch of procs that are never cleaned up..

Differential Revision: [D98197943](https://our.internmc.facebook.com/intern/diff/D98197943/)

[ghstack-poisoned]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant