Skip to content
This repository was archived by the owner on May 22, 2020. It is now read-only.

kensentor/rails_concurrency_bug_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shows that while config.allow_concurrency = false is present in config/environments/test.rb, the session variable in integration tests gets replaced by an empty Hash after a request is made.

rails test test/controllers/application_controller_test.rb - this will produce a failure

If you open config/environments/test.rb and comment out the line config.allow_concurrency = false, the test will pass.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published