Hey, that's great. Can you enter JIRAs for the issues? I just got "clean code" in last week, I look forward to reading it.
Patrick On Mon, Dec 6, 2010 at 11:28 AM, Thomas Koch <[email protected]> wrote: > Hi, > > last weekend I read and very much enjoyed the book "clean code". This great > book contains two chapters on concurrency and recommends to use a tool from > IBM "conTest"[2] to test concurrent code. > > This tool fiddles with the byte code of classes under test to increase the > frequency of context switches. Thus conTest tries to make concurrency bugs > more visible, that would normally occur only after many months of production > runs. > > conTest also can produce a list of classes that are affected by concurrent > code ("Concurrent coverage"). > > I ran the ZooKeeper tests on my laptop. While the testsuite did never fail on > my machine(TM) before, conTest produced three test failures. > > Unfortunatly conTest is not (yet) open source, but free of cost available > after registration. > > [1] Clean Code: A Handbook of Agile Software Craftsmanship (Robert C. Martin) > [2] http://www.alphaworks.ibm.com/tech/contest > > Best regards, > > Thomas Koch, http://www.koch.ro >
