From 76711b6e771a925125c75457b2f25acacd8bb142 Mon Sep 17 00:00:00 2001 From: Islam AbdelRahman Date: Tue, 3 Jan 2017 16:09:38 -0800 Subject: [PATCH] Make ExternalSSTFileTest::CompactionDeadlock more deterministic Summary: It's not always true that `ASSERT_EQ(running_threads.load(), 2);` Closes https://github.com/facebook/rocksdb/pull/1736 Differential Revision: D4374091 Pulled By: IslamAbdelRahman fbshipit-source-id: 4f70bbd --- db/external_sst_file_test.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/db/external_sst_file_test.cc b/db/external_sst_file_test.cc index 6b3dea46c..210017cba 100644 --- a/db/external_sst_file_test.cc +++ b/db/external_sst_file_test.cc @@ -1760,8 +1760,6 @@ TEST_F(ExternalSSTFileTest, CompactionDeadlock) { // `DBImpl::AddFile:Start` will wait until we be here TEST_SYNC_POINT("ExternalSSTFileTest::DeadLock:1"); - ASSERT_EQ(running_threads.load(), 2); - // Wait for IngestExternalFile() to start and aquire mutex TEST_SYNC_POINT("ExternalSSTFileTest::DeadLock:2");