[openstack-dev] [cinder] Proposal: changes to our current testing process

Duncan Thomas duncan.thomas at gmail.com
Mon Mar 7 15:54:49 UTC 2016

On 7 March 2016 at 23:45, Eric Harney <eharney at redhat.com> wrote:

> I'm not really sure that writing a "hacking" check for this is a
> worthwhile investment.  (It's not a hacking check really, but something
> more like what you're describing, but that's beside the point.)
> We should just be looking for large, complex unit tests in review, and
> the ones that we already have should be moving towards the functional
> test area anyway.
> So what would the objective here be exactly?
Complexity can be tricky to spot by hand, and expecting reviewers to get it
right all of the time is not a reasonable expectation.

My ideal would be something that processes the commit and the jenkins logs,
extracts the timing info of any new tests, and if they are outside some
(fairly tight) window, then posts a comment to the review indicating that
these tests should get closer scrutiny. This does not remove reviewer
judgement from the equation, just provides a helpful prod that there's
something to be considered.

Duncan Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160307/15072b2b/attachment.html>

More information about the OpenStack-dev mailing list