Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

creation problem

 
Joe Lamote
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guys,
I've been testing a lot the update and search methods used by clients. Lately I decided to create a remote delete and create method to test them as they will most certainly be tested by the assessor.
My test consist of a list of threads all creating a record, then searching for it and deleting the record found; every thread as its own record. Every thread do this for a couple of 100 times. Everything works fine except for one thing, somethimes at the end when I look at the file modified I find 2 records exactly identics. Since every method in Data is synchronized I don`t understand how this could happen. Any idea?
Joe
 
Joe Lamote
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, my mistake here. I forgot to verify if the records in the file were marked deleted or not. Shame on me!!!
Joe
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic