-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Since for testing purpose we check phactory writen data in mongo with our own code readden data, we are exposed to race condition.
It happens that Phactory::create use MongoCollection->insert and that '$collection->insert' don't wait for mongod response and our PHP test go on even if the data status is not what we expect. It happens for example on a slow development environnement.
I think Phactory::create should invoke collection->insert with array('safe'=>true) as second argument.
Metadata
Metadata
Assignees
Labels
No labels