[openstack-dev] [ceilometer] [gnocchi] monitoring unexpected success of xfail designated tests
Chris Dent
chdent at redhat.com
Fri Mar 6 17:27:28 UTC 2015
On Fri, 6 Mar 2015, Chris Dent wrote:
> It looks like the problem is in subunit (this is with a locally
> modified gabbi test):
>
> $ for i in testtools subunit ; \
> do python -m $i.run discover gnocchi.tests.gabbi &>/dev/null || \
> echo "$i catches uxsuccess as fail" ; \
> done
> testtools catches uxsuccess as fail
>
> I've filed a bug: https://bugs.launchpad.net/subunit/+bug/1429196
Actually I guess that's just the way subunit works. It doesn't exit
with failure even when there is failure. So that suggests the
problem is in testr's interpretation of the result stream.
I'll update the bug.
--
Chris Dent tw:@anticdent freenode:cdent
https://tank.peermore.com/tanks/cdent
More information about the OpenStack-dev
mailing list