(fwDataTest): fix MTLockTest random failure
What does this MR do?
The test try to lock the data to write "lili" or "tata" in a fwData::String
. It launches two asynchronous methods that lock the data to write, wait 10ms between each char insertion and wait 5ms after the unlock. Then, it ensures that the letters from "tata" and "lili" are not mixed in the string.
How to test it?
Launch fwDAtaTest
.
Data
No data
Additional tests to run
Check the ci, it must not fail on fwDataTest
.
Associated Issues/Merge Requests
- Issues
- Closes #281 (closed)
Edited by Flavien BRIDAULT