refstack-client - Inconsistency between test list supplied in argument to test list executed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
refstack |
Fix Released
|
High
|
Unassigned |
Bug Description
Something seems wrong with how refstack-client is building the list of tests to run.
I passed in a file with 222 tests but it looks like 791 tests were run.
Command Run
=======
./refstack-client test -c tempest.conf -v --test-list "/home/
Output
=======
2016-10-14 16:15:20,312 refstack_
running=
OS_STDERR_
OS_TEST_
OS_TEST_
${PYTHON:-python} -m subunit.run discover -t ${OS_TOP_LEVEL:-./} ${OS_TEST_
....
======
Totals
======
Ran: 791 tests in 7479.0000 sec.
=======
Why 791 tests run instead of 222?
Attached is file containing both lists, test_cases.txt and the contents of /tmp/tmpeCEgLb which was passed to subunit.
Changed in refstack: | |
importance: | Undecided → Critical |
importance: | Critical → High |
Changed in refstack: | |
status: | Fix Committed → Fix Released |
Hi David,
There was a bug in RefStack that used IDs instead of fully qualified test names to generate the whitelist used by ostestr. This patch [1] fixes that. Could you please check to see whether this will help! Thanks a lot!
[1] https:/ /review. openstack. org/#/c/ 381232/