apache / apache/opendal

ofs: Migrate TextContext to `libtest-mimic`

Open
#4,681 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
5.4k
Forks
825
Avg merge
1d 14m
Merged PRs (30d)
127

Description

ofs currently conducts tests by creating a new context for each one, which increases the likelihood of encountering mount/unmount related issues. Perhaps we could switch to using `libtest-mimic` to gain more control over this process, such as setting up before all tests and shutting down afterwards.

Contributor guide

Open the contributing guide

Research direction

Start by locating the ofs tests that create a TextContext for each test and read how their mount and unmount lifecycle is managed. Review the libtest-mimic approach and determine how setup before all tests and shutdown afterwards should fit that lifecycle. Done means ofs uses the migrated test harness with shared lifecycle control and avoids the reported mount/unmount issues.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.