This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).
Change-Id: I60a30572c41798b243114bc2078cc9fecb7a68d4
The method assertEquals has been deprecated since python 2.7.
http://docs.python.org/2/library/unittest.html#deprecated-aliases
Also in Python 3, a deprecated warning is raised when using assertEquals
therefore we should use assertEqual instead.
This is part of blueprint assertequal
Change-Id: Ie6b881f594c0b3e7015e70a12d7ac720fa765736
Python 3.3/Python 2.6 is not supported from Mitaka, as per Infra.
The following patch removes the support for the same.
Change-Id: I7c8a1a39f0e86cbd38466c2dcd611a8f513c8adc
Closes-Bug: #1526170
As per the comment#12 in [1], the if loop can be removed
and json can be directly imported from bench.py
[1]: https://review.openstack.org/#/c/264486/
TrivialFix
Depends-On:I7c8a1a39f0e86cbd38466c2dcd611a8f513c8adc
Change-Id: I519753b0db0d8eee70c84afa92dfab2b943afbac
To solve the problem of "db type could not be determined" on
py34 we have to run py34 env before py27.
This patch puts py34 first on the tox.ini's list of envs
to avoid this problem to happen.
Change-Id: Ife0c57c0d92d41018862aad744ef9af65ef87b21
Closes-bug: #1489059
Keep eventlet version same as Swift dependency.
This update matches the OpenStack global requirements version.
Change-Id: Ic8136901a6bc6447ea7248ed3e699ed0f9c0448a
When a development environment is under a proxy, tox is failed even if
environment variables of the proxy are set.
This patch fixes this problem.
Change-Id: I5382f1b2100ba15fb4a6f501d3885984a68579ab
swift-bench test results could be altered when using HTTP proxy server.
This patch add warning when HTTP proxy has been detected.
Change-Id: Id818203345914efee37852e96541c259de6ae555
provide ability for user to select which storage policy
to run benchmark against
Change-Id: I9973f964ec3989281f47f853be053498e7a6e51e
Signed-off-by: Thiago da Silva <thiago@redhat.com>
Fixes a bug when using the --log-level/-o option. These are currently not
usable, because a condition always exits if there are not exactly two
command-line arguments used (the ip and port).
This patch also ensures that the used log-level settings are valid choices.
Change-Id: I5d64e57b59947c059924fce3e458cfe9fa284318
next(iterable) is supposed to return the next thing in the sequence;
here, that's a bunch of zeros. However, this was returning a generator
that yielded one item: a bunch of zeros. This broke direct
benchmarking.
Change-Id: I2fca4795fc9b3d1637c72616a52a60482d6e853e
* tox.ini: The LANG, LANGUAGE and LC_ALL environment overrides were
introduced originally during the testr migration in an attempt to be
conservative about the possibility that locale settings in the
calling environment could cause consistency problems for test runs.
In actuality, this should be unnecessary and any place where it does
cause issues ought to be considered an actual bug. Also, having
these in the configuration actively causes older pip to have
problems with non-ASCII content in some package metadata files under
Python 3, so drop it now.
Change-Id: Idc298cccd88eb7c929a648e31e129d4355ef7270
Closes-Bug: #1277495
I can't seem to figure out how to have testr and coverage working
properly without pbr so let's use nosetests for it.
Change-Id: Id0f2fc348dc822af9189178b518d2dda711b060c
Remove the dependence on swift, import the only needed functions from
swift.common.utils to swiftbench.utils
Add tests for utils using mock instead.
Change-Id: I1b69dce750b55f3ee0e999fb5a7100cf811f7ebe
- Update .gitignore to ignore all testrunners.
- Move swift-bench to swiftbench.
- Move tests to tests/
- Add some simple {test-,}requirements (more works needs to be done to get proper versioning)
Change-Id: Iab4d65f02cbce8c99ecafa30d15c4cb11f0b4293
except x,y: was deprected and is removed in Python 3.x.
Use "except x as y:" instead which works in any Python
version >= 2.6.
Change-Id: I7008c74b807340f3457d3a0c8bd0b83f23169d14
Address all the "hacking" lines that are flagged, and all the modules
that just have one item flagged.
Change-Id: I372a4bdf9c7748f73e38c4fd55e5954f1afade5b
Signed-off-by: Peter Portante <peter.portante@redhat.com>
With enable write affinity, it's necessary to wait until
replication has moved things to their proper homes before
running delete request. With write affinity turned on, only
nodes in local region will get the object right after PUT request.
Fix bug #1198926
Change-Id: I3aa8933d45c47a010ae05561e12176479e7c9bcc
Ignore build/ directory, which is auto-created when running `python
setup.py bdist` like dist/ directory.
Change-Id: Ie58936320d995e4e81f8929128475e538665bde8