Re: Testing with concurrent sessions

Kevin Grittner <kevin.grittner@wicourts.gov>

From: "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
To: "Markus Wanner" <markus@bluegap.ch>
Cc: "Michael Tan" <mtanhl@gmail.com>,<david@kineticode.com>, <pgsql-hackers@postgresql.org>
Date: 2010-01-14T20:23:01Z
Lists: pgsql-hackers
Markus Wanner <markus@bluegap.ch> wrote:
 
> Okay, here we go: dtester version 0.0.
 
C'mon, you could have tried to inspire a *bit* more confidence by
calling it version 0.1 or something!  ;-)
 
> It's certainly missing lots of things, mainly documentation.
> However, I've attached a patch which integrates nicely into the
> Postgres Makefiles, so you just need to say: make dcheck.
 
That sounds very cool.
 
> That very same patch includes a test case with three concurrent 
> transactions with circular dependencies, where the current
> SERIALIZABLE isolation level fails to provide serializability.
 
Fantastic!  I'll expand that a bit....
 
> Installing dtester itself is as simple as 'python setup.py
> install' in the extracted archive's directory.
> 
> Go try it, read the code and simply ask, if you get stuck. I'll
> try to come up with some more documentation and such...
 
I'm reading through it all now.  Expect feedback soon!
 
And THANK YOU VERY MUCH!
 
-Kevin