commit | 3b0b128ea4b972a00010411c5e49ee234af4ae90 | [log] [tgz] |
---|---|---|
author | Chris Suter <csuter@google.com> | Tue Oct 27 03:20:51 2020 +0000 |
committer | CQ Bot <commit-bot@chromium.org> | Tue Oct 27 03:20:51 2020 +0000 |
tree | 32314883cf9a48130e6e12d67fb0516cdf847f38 | |
parent | 2cb5bd838631557f6a3b447cdc9c1554de712018 [diff] |
[fatfs] Fix flake caused by fatfs shut-down. Tests assume that as soon as a file system has been shutdown, the block device is available to be reused. Fatfs had an issue where it would send the shutdown response, before it had finished using the block device. This CL fixes that. Tested by adding a well placed sleep which would cause the test to fail every time. Also took the opportunity to fix some missing std::endl, and change from cerr to cout because googletest using stdout rather than stderr for logs. Fixed: 62331 Change-Id: I40aa57b2605ec4e3fb67f5f7e9ae35dd79282d1c Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/442918 Commit-Queue: Chris Suter <csuter@google.com> Reviewed-by: Simon Shields <simonshields@google.com> Testability-Review: Simon Shields <simonshields@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.