diff --git a/env/env_test.cc b/env/env_test.cc index 62b823478..b2060ca95 100644 --- a/env/env_test.cc +++ b/env/env_test.cc @@ -327,6 +327,7 @@ TEST_P(EnvPosixTestWithParam, UnSchedule) { // run in any order. The purpose of the test is unclear. #ifndef OS_WIN TEST_P(EnvPosixTestWithParam, RunMany) { + env_->SetBackgroundThreads(1, Env::LOW); std::atomic last_id(0); struct CB {