Skip to content

Framework for setting up environment needed for ASV tests

grusev edited this page Feb 26, 2025 · 8 revisions

General

Writing asv tests against one type of storage which is exclusive like LMDB is generally easy, as all moving parts including the storage are isolated on specific developer machine or on GitHub runner. But when we have to write tests that need to use shared storage, and eventually same tests to be easily and safely executed concurrenty at more than one place could become challenging and lead to unpredictable results. Additionally we would like to reuse SAME tests and run them with minimum change (one parameter for instance) against different kind of storage LMDB, Amazon S3, GCP, Azure etc.

Additionally if we want to reuse setting up similar type of environment in other types of tests we cannot use existing approach for writing tests and setup tightly coupled with the ASV test clases.

We would need a safer approach which requires adding additional abstraction to help us do that safely.

Clone this wiki locally