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

Avoid hanging with parallel_tests #746

Merged
merged 1 commit into from
Sep 16, 2019
Merged

Avoid hanging with parallel_tests #746

merged 1 commit into from
Sep 16, 2019

Commits on Sep 11, 2019

  1. Avoid hanging with parallel_tests

    ParallelTests.last_process? retuns true if the process is the last one to start.  We are
    interested in the last test to finish so we want to use ParallelTests.number_of_running_processes
    
    Because it's possible to have the parallel_tests gem in your project and still run tests serially we
    want to also check if tests are currently being run in parallel.  If ENV['TEST_ENV_NUMBER'] is defined
    we know tests are currently being run in parallel.
    annaswims committed Sep 11, 2019
    Configuration menu
    Copy the full SHA
    514bd7f View commit details
    Browse the repository at this point in the history