Re: multi-platform, multi-locale regression tests

From: David Fetter <david(at)fetter(dot)org>
To: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
Cc: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, peter_e(at)gmx(dot)net, pgsql-hackers(at)postgresql(dot)org
Subject: Re: multi-platform, multi-locale regression tests
Date: 2010-11-10 17:12:23
Message-ID: 20101110171223.GC21921@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Nov 10, 2010 at 08:33:13AM -0800, David Wheeler wrote:
> On Nov 10, 2010, at 5:31 AM, Kevin Grittner wrote:
>
> > For the Serializable Snapshot Isolation (SSI) patch I needed a
> > test suite which would handle concurrent sessions which
> > interleaved statements in predictable ways. I was told pgTAP
> > wasn't a good choice for that and went with Markus Wanner's
> > dtester package. The SSI patch adds a "dcheck" build target which
> > is not included in any others to run the dtester tests.
>
> Right. pgTAP doesn't run tests, it's just a collection of assertion
> functions written in SQL and PL/pgSQL. It could have been used via
> a forking Perl script that would connect to the proper boxes, run
> the tests, collect the results, etc. But it clearly would have been
> a PITA, and the path of least resistance is often the best solution
> when hacking. Going with dcheck, which already did what you wanted,
> was clearly the right choice.
>
> Hopefully we can have the build farm animals run the dcheck target
> once SSI is committed.

Does Perl have some kind of concurrency-controlled test framework?

Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2010-11-10 17:48:22 Re: multi-platform, multi-locale regression tests
Previous Message David E. Wheeler 2010-11-10 16:33:13 Re: multi-platform, multi-locale regression tests