summaryrefslogtreecommitdiff
path: root/.functests
Commit message (Collapse)AuthorAgeFilesLines
* Give functional tests another chance to passTim Burke2021-03-261-2/+2
| | | | | | In the process, move from using os-testr to stestr. Change-Id: Ib6651aab8b009605bf0855ec217003936c0fae6e
* tests: Stop invoking python just to get the real source directoryTim Burke2019-10-151-1/+1
| | | | | | | While we're at it, stop checking for a seven-year-old version of nose -- we already list a newer version in test-requirements.txt anyway. Change-Id: I97beace3094f11286730b99653dc1e8f699c5aec
* Get functional/tests.py running under py3Tim Burke2019-05-081-1/+1
| | | | | | | Note that you need a pretty recent eventlet to pick up https://github.com/eventlet/eventlet/commit/f0bc79e Change-Id: I6b006b972e7431c406039f4e0f6890a8f74a4432
* Fix ostestr invocationTim Burke2019-05-031-1/+1
| | | | | | | | | | | | | | | | More-recent versions of stestr are rather picky about wanting an integer for concurrency [1], but ostestr prior to [2] defaults it to None. As a result, all our func tests would fail with: TypeError: int() argument must be a string or a number, not 'NoneType' Also, move the rolling upgrade job to non-voting since it's going to pull in the old version but try to run with new deps. [1] https://github.com/mtreinish/stestr/commit/c93bc81 [2] https://review.openstack.org/#/c/651275/ Change-Id: Icba6c46bcff0e0516107e0f6742d32c92488ae20
* Improved usage of args in .functestsGerard Gine2018-02-141-3/+4
| | | | | | | | If we're calling the script with any arguments, --pretty will not be passed to ostestr. Also redirected cd commands' output to /dev/null in .functests. Change-Id: I6e7e391c7e1659b86ab12eae4362b565218917b2
* Merge "Apply bash error handling consistently in all bash scripts"Jenkins2016-10-141-1/+0
|\
| * Apply bash error handling consistently in all bash scriptsOndřej Nový2016-10-111-1/+0
| | | | | | | | Change-Id: I36dcff9cc2593bcfb6aebbe84b59d95c711eb3e4
* | add reminder how to run debug func testsThiago da Silva2016-08-091-0/+3
|/ | | | | | | | added comments on how to run in_process and specific test cases Change-Id: I485755996b15753323d30de09914d35e262fcedc Signed-off-by: Thiago da Silva <thiago@redhat.com>
* Modify functional tests to use ostestr/testrRichard Hawkins2015-12-151-2/+4
| | | | | | | | | | | | | | | | | | | | | | Defcore uses Tempest, which uses Test Repository. This change makes it easier for Defcore to pull functional tests from Swift and run them. Additionally, using testr allows tests to be run in parallel. Concurrency set to 1 for now, >1 causes failures for reasons that are still TBD. With switch to ostestr all the server logs are being sent to stdout which makes it completely unreadable. Suppressing the logs by default now with a flag to enable it if desired. Co-Authored-By: John Dickinson <me@not.mn> Co-Authored-By: Robert Collins <rbtcollins@hpe.com> Co-Authored-By: Matthew Oliver <matt@oliver.net.au> Co-Authored-By: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com> Change-Id: I53ef4a116996a772cf1f3abc2eb0ad60047322d5 Related-Bug: 1177924
* Move the tests from functionalnosetestsSteve Kowalik2014-01-071-7/+2
| | | | | | | | | | Move the tests from functionalnosetests under functional, so we no longer have two seperate trees for functional tests. This also drops the 'nose' name from the directory, so that it doesn't end up with confusion if we move to testr. Further, since there are no longer two test runs in .functests, it nows looks very close to the other two. Change-Id: I8de025c29d71f05072e257df24899927b82c1382
* make test tooling less opinionatedClay Gerrard2013-12-061-1/+1
| | | | Change-Id: I709afcec998795794a9ef13bbe7493ddd46c59b5
* Allow dot test runners from any dirclayg2012-12-071-2/+4
| | | | | | | | Currently the .*test files in the source tree root seem to assume you're in that directory when you run them. This change should work exactly the same except for removing that restriction. Change-Id: I9b037016490dd6d5b515cb2c3cad2f99ee40bb6d
* make test runner functions return the status of running the testsIonuț Arțăriși2012-04-181-0/+4
| | | | | | | This makes it a lot easier for CI jobs to be setup and return the true status of the testsuite. Change-Id: I0c2b0d6b17f560a889cd2f22ab98a68361f6d738
* Make tests work like they used to.gholt2012-03-131-2/+7
| | | | Change-Id: I081d853a90ad0efce5b7a20b52794ce3348a9617
* Add support for venv-based test run with tox.Maru Newby2012-03-071-2/+2
| | | | | | | | | | | | | | | | | | | | | * Adds tox config - based on the config from python-quantumclient and updated for test, pep8 and coverage execution as per nova's run_tests.sh. * Adds nosetests defaults in setup.cfg * Adds runtime dependencies in tools/pip-requires - dependencies were gathered by referencing the packages used in creation of a Swift All In One. Versions were determined by checking the swift-core/trunk ppa or, failing that, the version available in lucid. * Adds test dependencies in tools/test-requires * Updates swift/common/middleware/formpost.py for pep8 compliance * Adds instructions for executing the tests with Tox to the developer_guidelines * Adds instructions for installing openstack.nose_plugin to developer_saio * Fixes bug 909177 Change-Id: I5407924d2181e9ab335aaf76bf30c8d40deccbb4
* Allow to pass arguments to nosetest.Chmouel Boudjnah2012-02-021-2/+2
| | | | | | | | | When running .functests or .unittests allow to pass argument on the command line for nosetests. Fixes bug 925636 Change-Id: Icb07c192328528900b502fbc937b9c83f70a4b0f
* minor bug fixes- pre ratelimit caching of container sizeDavid Goetz2010-10-061-1/+1
|
* Func tests for account/container metadatagholt2010-08-161-0/+1
|
* Initial commit of Swift codeChuck Thier2010-07-121-0/+3