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

(SERVER-251) Tweak jruby-flush tests because of performance issues #634

Conversation

camlow325
Copy link
Contributor

This commit modifies some of the work previously committed for
SERVER-251, mostly due to concerns about the length of execution time
added to the suite.

  1. The admin-api-multiple-flush-jruby-pool-test was eliminated. The
    value of the test was already a bit dubious due to some of the variable
    timing in the execution of the test and limited ability to validate the
    system's behavior with concurrent flush requests. More importantly, the
    test appeared to add 5 minutes or so to the overall execution time for
    the test suite - increasing from 6 minutes or so to 11 minutes or so.
    This commit removes the test completely.

  2. The hold-instance-while-pool-flush-in-progress-test was modified to
    just try to initialize 2 jruby-puppet instances instead of 4. This
    should speed the execution of the test up a bit. The test overall may
    still take around 10 seconds to run; measurements were inconsistent from
    local runs.

This commit modifies some of the work previously committed for
SERVER-251, mostly due to concerns about the length of execution time
added to the suite.

1) The `admin-api-multiple-flush-jruby-pool-test` was eliminated.  The
value of the test was already a bit dubious due to some of the variable
timing in the execution of the test and limited ability to validate the
system's behavior with concurrent flush requests.  More importantly, the
test appeared to add 5 minutes or so to the overall execution time for
the test suite - increasing from 6 minutes or so to 11 minutes or so.
This commit removes the test completely.

2) The `hold-instance-while-pool-flush-in-progress-test` was modified to
just try to initialize 2 `jruby-puppet` instances instead of 4.  This
should speed the execution of the test up a bit.  The test overall may
still take around 10 seconds to run; measurements were inconsistent from
local runs.
@cprice404
Copy link

+1

1 similar comment
@MSLilah
Copy link
Contributor

MSLilah commented Jul 13, 2015

👍

MSLilah pushed a commit that referenced this pull request Jul 13, 2015
…jruby-flush-tests

(SERVER-251) Tweak jruby-flush tests because of performance issues
@MSLilah MSLilah merged commit 719f955 into puppetlabs:stable Jul 13, 2015
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.

3 participants