| || |
Testcases running concurrently
The problem I am having is that the testcases seem to be running concurrently instead of one being closed before the next one begins. This is causing a problem when I am trying to write to an ini file. One testcase is still accessing the file while another is attempting to. I think I could solve that problem if I knew why the testcases run all at the same time. There is as many as 6 running at the same time. I can't attach the file because the largest allowed id 50kb and the file is 60+kb
Thanks for any help,
Re: Testcases running concurrently
Try using the semaphore function (acquire and release)It only allows one thread at a time write/read it. The others are queued up.
I have had as many as 10 threads running and accessing the same file.
Its a beautiful thing.