commit | 77a1eba102c0d10a0b58f5bffe5c83909773e90b | [log] [tgz] |
---|---|---|
author | Ben Chan <benchan@chromium.org> | Sun Oct 07 22:54:55 2012 -0700 |
committer | Gerrit <chrome-bot@google.com> | Mon Oct 08 13:14:07 2012 -0700 |
tree | 52f90ec6a3397ef2e011bed44457f22d78ca51e6 | |
parent | f4318709ff5bd808a5fb8dd360acd9b66253a24e [diff] |
Make unit tests less timing sensitive when unmounting busy loop devices. This CL modifies utils::UnmountFilesystem() to retry when umount() fails to unmount a busy loop device and replaces several unit tests to use the modified utils::UnmountFilesystem() instead of calling System("umount"). BUG=chromium-os:35112 TEST=Run unit tests repeatedly. Change-Id: I42978f02b4797c68acbec6c351ea2663b9ec7b59 Reviewed-on: https://gerrit.chromium.org/gerrit/34862 Reviewed-by: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org> Commit-Ready: Ben Chan <benchan@chromium.org>