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

Various test speed ups #3465

Merged
merged 15 commits into from Jun 13, 2017
Merged

Various test speed ups #3465

merged 15 commits into from Jun 13, 2017

Commits on Jun 12, 2017

  1. Configuration menu
    Copy the full SHA
    ec4d59e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a6a36f7 View commit details
    Browse the repository at this point in the history
  3. Speed up the tests by setting base pack requirements to an empty list.

    This way no requirements are installed in a created virtualenv which
    speeds up tests.
    Kami committed Jun 12, 2017
    Configuration menu
    Copy the full SHA
    c309de4 View commit details
    Browse the repository at this point in the history
  4. Allow user to pass in no_pip, no_setuptools and no_wheel argument to the

    {setup,create}_pack_virtualenv function.
    Kami committed Jun 12, 2017
    Configuration menu
    Copy the full SHA
    6381ba4 View commit details
    Browse the repository at this point in the history
  5. Don't copy over pip, setuptools and wheel in the test cases where we

    don't need it.
    
    This speeds up test run by 90% or so.
    Kami committed Jun 12, 2017
    Configuration menu
    Copy the full SHA
    b0fadf2 View commit details
    Browse the repository at this point in the history
  6. This test requires pip.

    Kami committed Jun 12, 2017
    Configuration menu
    Copy the full SHA
    6b93eef View commit details
    Browse the repository at this point in the history
  7. Use smaller and simpler dependency so tests finish faster and results in

    downloading less stuff.
    Kami committed Jun 12, 2017
    Configuration menu
    Copy the full SHA
    514b4cd View commit details
    Browse the repository at this point in the history
  8. Only need pip in those tests, don't need wheel and setuptools.

    This reduces the test run time.
    Kami committed Jun 12, 2017
    Configuration menu
    Copy the full SHA
    3bfaf8c View commit details
    Browse the repository at this point in the history
  9. Fix lint.

    Kami committed Jun 12, 2017
    Configuration menu
    Copy the full SHA
    684c693 View commit details
    Browse the repository at this point in the history
  10. Speed up the test by only registering some packs and not all packs on

    disks.
    
    We have way too many test fixture packs on disk and registering
    resources from all inside the test takes a long time.
    
    With this change tests are now substantially faster.
    Kami committed Jun 12, 2017
    Configuration menu
    Copy the full SHA
    d19aa5c View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2017

  1. Configuration menu
    Copy the full SHA
    974199e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    51e605d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    41300eb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4fb65e0 View commit details
    Browse the repository at this point in the history
  5. Update mongodb args.

    Kami committed Jun 13, 2017
    Configuration menu
    Copy the full SHA
    edb2b1a View commit details
    Browse the repository at this point in the history