Skip to content

Conversation

luizbafilho
Copy link
Contributor

This PR adds a new option --no-vu-connection-reuse that closes the idle connections between each iteration of a VU, and changes meaning of --no-connection-reuse to disabling keep-alive connections

@luizbafilho luizbafilho changed the title Adding no vu connection reuse Adding no-vu-connection-reuse option Jun 18, 2018
@luizbafilho luizbafilho changed the title Adding no-vu-connection-reuse option Adding no-vu-connection-reuse option Jun 18, 2018
@codecov-io
Copy link

codecov-io commented Jun 18, 2018

Codecov Report

Merging #676 into master will increase coverage by 0.02%.
The diff coverage is 85.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #676      +/-   ##
==========================================
+ Coverage    64.6%   64.63%   +0.02%     
==========================================
  Files         101      101              
  Lines        8166     8171       +5     
==========================================
+ Hits         5276     5281       +5     
  Misses       2549     2549              
  Partials      341      341
Impacted Files Coverage Δ
cmd/options.go 62.74% <100%> (+0.74%) ⬆️
lib/options.go 93.75% <100%> (+0.09%) ⬆️
js/runner.go 80.4% <50%> (+0.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d2f207b...c4489c7. Read the comment docs.

Copy link
Contributor

@na-- na-- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


## UX
* New option to reset cloud token (#672)
* The option `--no-connection-reuse` now means that keep-alive connections will be disabled. (#676)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't this fit better as a Breaking Change or a Bugfix? Or even if it's in the UX section, a bit more information would probably help, something like:

The --no-connection-reuse option has been re-purposed and now disables keep-alive connections globally. The newly added --no-vu-connection-reuse option does what was previously done by --no-connection-reuse - it closes any open connections between iterations of a VU, but allows for reusing them inside of a single iteration.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a breaking change session, it's going to be a better fit.

@luizbafilho luizbafilho merged commit 8f384ff into master Jun 20, 2018
@luizbafilho luizbafilho deleted the feature/disable-keep-alive-vu branch June 20, 2018 12:55
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