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

make backburner integration test to work #27831

Merged

Conversation

y-yagi
Copy link
Member

@y-yagi y-yagi commented Jan 28, 2017

Currently, backburner integration test is not running on CI.
https://travis-ci.org/rails/rails/jobs/196005322#L610

Using Backburner::Worker.connection to check whether beanstalkd is
running. But Backburner::Worker.connection was removed in backburner
1.2.0.
nesquena/backburner@81fde49

Therefore, this check process always becomes false, so the test is no
longer done. I fixed it so that check processing is done correctly.

Currently, backburner integration test is not running on CI.
https://travis-ci.org/rails/rails/jobs/196005322#L610

Using `Backburner::Worker.connection` to check whether beanstalkd is
running. But `Backburner::Worker.connection` was removed in backburner
1.2.0.
nesquena/backburner@81fde49

Therefore, this check process always becomes false, so the test is no
longer done. I fixed it so that check processing is done correctly.
@rails-bot
Copy link

r? @pixeltrix

(@rails-bot has picked a reviewer for you, use r? to override)

@pixeltrix pixeltrix merged commit be4d551 into rails:master Jan 28, 2017
@pixeltrix
Copy link
Contributor

@y-yagi thanks! 👍

Does this need backporting to 5-0-stable and 4-2-stable - what versions of Backburner are we running in the tests there?

@y-yagi
Copy link
Member Author

y-yagi commented Jan 28, 2017

Thanks for the review!

Backburner 1.3.1 is used for both 5-0-stable and 4-2-stable. Therefore, I think that backporting are need for both branches.

Ref:

5-0-stable
Gemfile: https://github.com/rails/rails/blob/5-0-stable/Gemfile.lock#L83
CI: https://travis-ci.org/rails/rails/jobs/193779839#L650

4-2-stable
Gemfile: https://github.com/rails/rails/blob/4-2-stable/Gemfile.lock#L73
CI: https://travis-ci.org/rails/rails/jobs/193178130#L2226

@y-yagi y-yagi deleted the make_backburner_integration_test_to_work branch January 28, 2017 13:49
@pixeltrix
Copy link
Contributor

@y-yagi thanks for info - backported to 4-2-stable (f640c4c) and 5-0-stable (cc9d656).

@y-yagi
Copy link
Member Author

y-yagi commented Jan 28, 2017

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

4 participants