On Wed, Oct 12, 2016 at 9:14 PM, Nir Soffer <nsof...@redhat.com> wrote:
> Trying to run vdsm tests via tox (so correct nose is used automatically),
> some of the tests fail.
> The failure are all about ordering expectations, which look wrong.
tox -e tests
tests create: /vdsm/.tox/tests
tests installdeps: nose==1.3.7
tests installed: nose==1.3.7
tests runtests: PYTHONHASHSEED='1382456816'
tox uses random seed on each run, exposing bad code assuming order
of unordered things.
To repeat tests failures, you probably want to use the same seed,
this can be done like this:
tox -e tests --hashseed SEED
Devel mailing list