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

Merged gevent/zmq updates, ported to requests >= 1.2 #86

Closed
wants to merge 21 commits into from

Conversation

EnTeQuAk
Copy link
Contributor

For a clean diff ignore whitespaces: https://github.com/EnTeQuAk/locust/compare/locust_0_7_changes?expand=1&w=1

I reverted the big whitespace changes but left "usual stuff" that were in all the commits where I actually touched the code. Hope this is fine enough.

Cheers,
Chris

whitmo and others added 19 commits November 12, 2012 13:04
 - if available
 - prefer it to the deprecated gevent_zeromq
- remove carriage returns
- add coverage to gitignore
- server shutdown
Make fail percent be failures/(success+failures). If you have 1 success
and 4 failures, your fail percentage is 80%, not 400%.
* rory-fix-failure-percent:
  Fix failure percent calculations.
* whitmo-gevent-update:
  - noops - server shutdown
  more link_exception noops for slaves
  gardening - remove carriage returns - add coverage to gitignore
  add a setup.cfg to get automatic coverage
  update tests to work with nose
  use zmq.green  - if available  - prefer it to the deprecated gevent_zeromq
This reverts commit 8731ff7.

Conflicts:
	locust/clients.py
	locust/rpc/zmqrpc.py
	locust/runners.py
	locust/test/test_average.py
This reverts commit b217420.

Conflicts:
	locust/__init__.py
	locust/clients.py
	locust/main.py
	locust/rpc/socketrpc.py
	locust/rpc/zmqrpc.py
	locust/runners.py
	locust/test/runtests.py
	locust/test/test_average.py
	locust/test/test_client.py
	locust/test/test_locust_class.py
	locust/test/test_stats.py
	setup.py
@EnTeQuAk
Copy link
Contributor Author

The travis failure is not related to the code :-(

@heyman
Copy link
Member

heyman commented Aug 12, 2013

Thanks! I'll try to merge this later (minus the whitespace changes, to not obscure the GIT history).

If you update the requests version in requirements.txt as well, I think the Travis CI tests will run.

@EnTeQuAk
Copy link
Contributor Author

Thanks, I updated the requirements file. Why do we have multiple
requirements files when everything can be defined in the setup.py?

On Mon, Aug 12, 2013 at 2:13 PM, Jonatan Heyman [email protected]:

Thanks! I'll try to merge this later (minus the whitespace changes, to not
obscure the GIT history).

If you update the requests version in requirements.txt as well, I think
the Travis CI tests will run.


Reply to this email directly or view it on GitHubhttps://github.com//pull/86#issuecomment-22488923
.

@heyman
Copy link
Member

heyman commented Aug 12, 2013

Yeah, we could probably remove the requirements.txt actually, and update the travis.yml accordingly.

We do have a proper setuptools setup and don't need the
requirements files anymore.
@EnTeQuAk
Copy link
Contributor Author

@heyman just did this step already :-)

@heyman
Copy link
Member

heyman commented Aug 14, 2013

Hi! I thought I could start a new pull request from the no whitespace diff you linked to, but that doesn't seem to be possible.

I'd much rather merge the 274 line changes without all the whitespace changes, rather than the 2440 line changes. Could you do a pull request with just the changes that is seen in in https://github.com/EnTeQuAk/locust/compare/locust_0_7_changes?expand=1&w=1 instead? Would be awesome :)!

@EnTeQuAk
Copy link
Contributor Author

Okay, working on that. Sorry!
On Aug 14, 2013 2:00 AM, "Jonatan Heyman" [email protected] wrote:

Hi! I thought I could start a new pull request from the no whitespace diff
you linked to, but that doesn't seem to be possible.

I'd much rather merge the 274 line changes without all the whitespace
changes, rather than the 2440 line changes. Could you do a pull request
with just the changes that is seen in in
https://github.com/EnTeQuAk/locust/compare/locust_0_7_changes?expand=1&w=1instead? Would be awesome :)!


Reply to this email directly or view it on GitHubhttps://github.com//pull/86#issuecomment-22622835
.

@EnTeQuAk EnTeQuAk closed this Aug 14, 2013
@EnTeQuAk
Copy link
Contributor Author

Follow up in #87 :-)

@EnTeQuAk EnTeQuAk deleted the locust_0_7_changes branch August 14, 2013 16:36
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