Adding test case proving there is a write-write race condition to fix
authorTristan Van Berkom <tristanvb@openismus.com>
Thu, 25 Oct 2012 07:51:32 +0000 (16:51 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Tue, 29 Jan 2013 07:15:23 +0000 (16:15 +0900)
commit83fdfd58acf7132148d5fbe61d66fd3a07f61d5f
treea6dba3c4d5f111a3e9948415c704fb2b8adbbc01
parent61a2086682d7ae86ab85aaaacc2f7934aca354ce
Adding test case proving there is a write-write race condition to fix

The test case creates a number of threads all trying to modify the
same contact in the same book each concurrently with a different field,
if the modification fails it retries. If all the fields (one for each
thread) are not properly set at the end of all thread execution, then
the test is a failure.
tests/libebook/client/Makefile.am
tests/libebook/client/test-client-write-write.c [new file with mode: 0644]