When using --load-list to run tests, the tests run in a different order than the one provided in the file, even when the
--random argument is not present.
This worked with os-testr and I think it even worked with stestr at some point before sets were used to remove duplicates.
Expected behavior and actual behavior
The expected behavior is that the order of tests in the file is preserved unless the --random argument is provided.
Issue description
When using
--load-list
to run tests, the tests run in a different order than the one provided in the file, even when the--random
argument is not present.This worked with os-testr and I think it even worked with stestr at some point before sets were used to remove duplicates.
Expected behavior and actual behavior
The expected behavior is that the order of tests in the file is preserved unless the
--random
argument is provided.Steps to reproduce the problem
We create file
testfile
with contents:Now we run the 2 tests with:
And it will most likely run in a different order.