I'm using this library for a project.
While unit testing, I noticed random failure in fetching data.
I have a Class that instances raptors, and function that internally calls raptor function.
The test is something like:
- Create an object
- Save this object
- Retrieve back the object
This test random fails at (3), always while I run all my tests (~40).
Raptor Query function result OK is true but Count is 0. Point (2) raptor result in saving is also true.
Looking for a solution to the issue, I put a Thread.Sleep() of 1 millisecond. The problem seems resolved.
Am I missing something?
Could it be somthing I wrote wrong in the code to save or fetch the object?