Skip to content

Delay loading system test integration #1903

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

Merged
merged 1 commit into from
Nov 9, 2017
Merged

Conversation

JonRowe
Copy link
Member

@JonRowe JonRowe commented Nov 3, 2017

Delay loading system tests as late as possible in order to allow people who arent using them to not have to turn off puma or other such things. It also enables other webservers to be configured other
than puma which is needed in Rails as of rails/rails@50f6976

This should help people who have issues with puma loading when they're not using system test integration. /cc @myronmarston @samphippen @sj26

Delay loading system tests as late as possible in order to allow
people who arent using them to not have to turn off puma or other
such things. It also enables other webservers to be configured other
than puma which is needed in Rails as of
rails/rails@50f6976
@myronmarston
Copy link
Member

This seems reasonable, but I don't think I have sufficient context to be the only one to review this.

@sj26
Copy link
Contributor

sj26 commented Nov 8, 2017

This looks right to me. 👍

The main thing is making sure action_dispatch/system_test_case isn't loaded unless it's used which this seems to do.

Thanks for making this happen, @JonRowe!

@fables-tales
Copy link
Member

👍

@JonRowe
Copy link
Member Author

JonRowe commented Nov 9, 2017

Going to merge this as the build failure is unrelated, will attempt to resolve that when I can

@JonRowe JonRowe merged commit 8fc4518 into master Nov 9, 2017
@JonRowe JonRowe deleted the improve_system_test_loading branch November 9, 2017 22:49
@sj26
Copy link
Contributor

sj26 commented Nov 9, 2017

🎉

JonRowe added a commit that referenced this pull request Nov 16, 2017
JonRowe added a commit that referenced this pull request Nov 20, 2017
Delay loading system tests as late as possible in order to allow
people who arent using them to not have to turn off puma or other
such things. It also enables other webservers to be configured other
than puma which is needed in Rails as of
rails/rails@50f6976
JonRowe added a commit that referenced this pull request Nov 20, 2017
@JonRowe
Copy link
Member Author

JonRowe commented Nov 20, 2017

This got released as 3.7.2, hopefully helps!

sebjacobs pushed a commit to futurelearn/rspec-rails that referenced this pull request Mar 15, 2019
Delay loading system tests as late as possible in order to allow
people who arent using them to not have to turn off puma or other
such things. It also enables other webservers to be configured other
than puma which is needed in Rails as of
rails/rails@50f6976
sebjacobs pushed a commit to futurelearn/rspec-rails that referenced this pull request Mar 15, 2019
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.

4 participants