0

[disk_cache] Disable test which flakes with POSIX-based file I/O.

DiskCacheEntryTest.SimpleCacheCreateRecoverFromRmdir flakes on platforms
which use POSIX-based file I/O, so disable it everywhere pending
investigation.

TBR=morlovich

Bug: 999584
Change-Id: Ib0d77cfa7b3af320077fa2aed14c73b3d536ae08
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1994917
Reviewed-by: Wez <wez@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#730503}
This commit is contained in:
Wez
2020-01-13 10:59:41 +00:00
committed by Commit Bot
parent 50fb43dbbe
commit ca3dbde4f4

@ -4972,7 +4972,8 @@ TEST_F(DiskCacheEntryTest, SimpleCacheReadCorruptLength) {
EXPECT_NE(net::OK, OpenEntry(key, &entry));
}
TEST_F(DiskCacheEntryTest, SimpleCacheCreateRecoverFromRmdir) {
// TODO(crbug.com/999584): Flaky on platforms which use POSIX-based file I/O.
TEST_F(DiskCacheEntryTest, DISABLED_SimpleCacheCreateRecoverFromRmdir) {
// This test runs as APP_CACHE to make operations more synchronous.
// (in particular we want to see if create succeeded or not, so we don't
// want an optimistic one).