mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
Fix unit test
This commit is contained in:
parent
9b38248e64
commit
231f64cf37
@ -118,7 +118,10 @@ private:
|
||||
ExecutableTaskPtr task;
|
||||
CurrentMetrics::Increment increment;
|
||||
std::atomic_bool is_currently_deleting{false};
|
||||
Poco::Event is_done;
|
||||
/// Actually autoreset=false is needed only for unit test
|
||||
/// where multiple threads could remove tasks corresponding to the same storage
|
||||
/// This scenario in not possible in reality.
|
||||
Poco::Event is_done{/*autoreset=*/false};
|
||||
};
|
||||
|
||||
using ItemPtr = std::shared_ptr<Item>;
|
||||
|
Loading…
Reference in New Issue
Block a user