Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parameter for testMode.enter to continue processing jobs #821

Merged
merged 1 commit into from
May 13, 2016
Merged

Add parameter for testMode.enter to continue processing jobs #821

merged 1 commit into from
May 13, 2016

Conversation

diesal11
Copy link
Contributor

@diesal11 diesal11 commented Feb 5, 2016

As discussed here: #820

Adds a boolean parameter to testMode.enter which when set to true won't prevent jobs from processing.

Also adds documentation around this and clarifies that the default value prevents the queue from processing.

A test is included and the default behaviour of testMode.enter() with no arguments passed is the same as before so no functionality is broken.

Let me know if anything else is required :)

@behrad behrad added the ready label Apr 2, 2016
@behrad behrad merged commit 3dad6ad into Automattic:master May 13, 2016
@behrad behrad removed the ready label May 13, 2016
@diesal11 diesal11 deleted the process-test branch June 30, 2016 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants