On 2017-04-01 17:23:04 +0530, Dilip Kumar wrote:
> On Sat, Apr 1, 2017 at 12:16 AM, Andres Freund <andres(at)anarazel(dot)de> wrote:
> > Hi,
> >
> > The parallel code-path isn't actually exercised in the tests added in
> > [1], as evidenced by [2] (they just explain). That imo needs to be
> > fixed.
>
> Thanks for reporting. Attached patch fixes that.
That's better than before, but I'd appreciate working on a bit more
coverage. E.g. rescans probably aren't exercised in that test, right?
If you have time & energy, it'd also be good to expand the tests to
cover the prefetching logic - it's quite bad that it's currently not
tested at all :(