From 98c133380604b0dc7dbcf161b63c2af80d63c169 Mon Sep 17 00:00:00 2001 From: Jay Zhuang Date: Thu, 8 Oct 2020 09:39:22 -0700 Subject: [PATCH] Disable a known flaky test: RandomAccessUniqueIDDeletes (#7511) Summary: It's a known issue, which is tracked in https://github.com/facebook/rocksdb/issues/7405, https://github.com/facebook/rocksdb/issues/7470. Disable it for now. Pull Request resolved: https://github.com/facebook/rocksdb/pull/7511 Reviewed By: zhichao-cao Differential Revision: D24145075 Pulled By: jay-zhuang fbshipit-source-id: 1858497972f2baba617867aaeac30d93b8305c80 --- env/env_test.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/env/env_test.cc b/env/env_test.cc index 1caa29453..660f210e4 100644 --- a/env/env_test.cc +++ b/env/env_test.cc @@ -1148,7 +1148,9 @@ TEST_P(EnvPosixTestWithParam, RandomAccessUniqueIDConcurrent) { } } -TEST_P(EnvPosixTestWithParam, RandomAccessUniqueIDDeletes) { +// TODO: Disable the flaky test, it's a known issue that ext4 may return same +// key after file deletion. The issue is tracked in #7405, #7470. +TEST_P(EnvPosixTestWithParam, DISABLED_RandomAccessUniqueIDDeletes) { if (env_ == Env::Default()) { EnvOptions soptions; soptions.use_direct_reads = soptions.use_direct_writes = direct_io_;