This project is read-only.


Re-try to extract mongod.exe with a wait before fail


In unit test the mongod will be fired up and teared down and fired up again. Sometimes
there's a glitch in find processes (returns zero) but the actual process is not entirely
teared down by windows. Thus a IOException while trying to extract the new exe binary.
Implement the simplest solution:
  • When IOException in extraction
    1) Catch and sleep for one second
    2) Extract again, if now IOException throw.
Closed Aug 14, 2012 at 8:13 AM by solo95


wrote Aug 14, 2012 at 8:13 AM

Resolved with changeset 16296.

wrote Feb 12, 2013 at 10:58 PM

wrote May 14, 2013 at 9:53 PM

wrote Dec 1, 2017 at 8:45 PM