-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
Fully Compatible
-
0
-
None
-
None
-
None
-
None
-
None
-
None
-
None
In a test hook, we must correctly anticipate any concurrent operations.
One possible operation is dropDatabase().
In case a test runs dropDatabase and the test hook concurrently tries to move a collection, it will fail with DatabaseDropPending.
Now this errors can lead to test failures. We should ignore them in the test hook.