[elephant-devel] Re: test concurrent

Alex Mizrahi killerstorm at newmail.ru
Fri Apr 11 12:13:26 UTC 2008


 RLR> Thank you, Alex, that is a very nice solution.  I have committed it to
 RLR> the main repo.

by the way, it would be great if somebody can validate this tests against 
BDB.

it seems it doesn't work on vanilla config and requires some tweaking. for 
me it just hanged dead pretty soon:

* thread #<THREAD {B0B21B9}>: batch 0, run 0
thread #<THREAD {B0B22A9}>: batch 0, run 0
thread #<THREAD {B0B23A1}>: batch 0, run 0
thread #<THREAD {B0B2499}>: batch 0, run 0
thread #<THREAD {B0B2591}>: batch 0, run 0
now handling obj #<ZORK oid:0>
now handling obj #<ZORK oid:0>

comment in testthreads indicate that we need deadlock detection:

;;; These tests will (as of March 2008) fail horribly on
 ;;;   * BDB without deadlock detection enabled.

but there is no clue how to do this and check..
i hope someone who knows it better can check this and document, so we will 
know that BDB backend really has multi-threading capabilities. 






More information about the elephant-devel mailing list