← Back to team overview

testrepository-dev team mailing list archive

Re: Running failed tests from an older stream

 

Sorry for the delay- I missed this!

On 7 January 2015 at 17:02, Vedamurthy Ananth Joshi <vjoshi@xxxxxxxxxxx> wrote:
> In my setup, I have run about 40 streams
>
> I wanted to rerun the failures of the first stream (I.e. Stream #0)
> Ex :
>
> I did 'testr load --subunit .testrepository/0’ and tried ‘testr run
> —failing'
>
> root@nodec22:~/contrail-test# testr load --subunit .testrepository/0 | grep
...
> root@nodec22:~/contrail-test#
>
>
>
> root@nodec22:~/contrail-test# testr run --failing
>
> PASSED (id=43)
>
> root@nodec22:~/contrail-test#
>
> It didn’t run any of the above failed tests
>
>
> How can I get this working ?

The current testrepository internal store is still using v1 streams.

testr run --load-list <(subunit-1to2 < .testrepository/0 |
subunit-filter | subunit-ls)

should do something sensible for you though.

HTH,
-Rob



-- 
Robert Collins <rbtcollins@xxxxxx>
Distinguished Technologist
HP Converged Cloud


References