Write unit test(s) for cleanup_expired_logs_for() #1773
Labels
binding/rust
Issues for the Rust crate
enhancement
New feature or request
good first issue
Good for newcomers
Milestone
Description
In
checkpoints.rs
thecleanup_expired_logs_for
function could use at ;least one unit test. In order to implement it cleanly, I think we should have aFakeObjectStore
type which we can feed mockObjectMeta
structs into to to allow for testing the invocation of thelist
anddelete_stream
invocations that the function makes.Related Issue(s)
The text was updated successfully, but these errors were encountered: