From 6790a983eb8fa8e934045c89ef05a60de0237780 Mon Sep 17 00:00:00 2001 From: Akanksha Mahajan Date: Sat, 20 Feb 2021 19:12:14 -0800 Subject: [PATCH] Fix for ASSERT_STATUS_CHECKED test failure (#7985) Summary: Pull Request resolved: https://github.com/facebook/rocksdb/pull/7985 Test Plan: CircleCI ASSERT_STATUS_CHECKED test Reviewed By: jay-zhuang Differential Revision: D26568446 Pulled By: akankshamahajan15 fbshipit-source-id: bd0ab41f485942e313d82ce3895ce53e0967ba98 --- tools/trace_analyzer_test.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/trace_analyzer_test.cc b/tools/trace_analyzer_test.cc index d82d438c6..f0deb12aa 100644 --- a/tools/trace_analyzer_test.cc +++ b/tools/trace_analyzer_test.cc @@ -85,7 +85,9 @@ class TraceAnalyzerTest : public testing::Test { ASSERT_OK(db_->Get(ro, "a", &value)); single_iter = db_->NewIterator(ro); single_iter->Seek("a"); + ASSERT_OK(single_iter->status()); single_iter->SeekForPrev("b"); + ASSERT_OK(single_iter->status()); delete single_iter; std::this_thread::sleep_for (std::chrono::seconds(1));