test: sstables test_env: introduce manager() accessor

This returns the sstables_manager carried by the test_env. We
will soon retire the global test_sstables_manager, so we need
to provide access to one.
This commit is contained in:
Avi Kivity
2020-06-28 17:27:22 +03:00
parent 9399f06e86
commit f9aa50dcbf

View File

@@ -555,6 +555,8 @@ private:
public:
const bool has_component(component_type f) const;
sstables_manager& manager() { return _manager; }
const sstables_manager& manager() const { return _manager; }
private:
future<file> open_file(component_type, open_flags, file_open_options = {}) noexcept;