cli options for max and min tick + adjust github action to run with faster clock so no timeouts happen

This commit is contained in:
pedrocarlo
2025-07-10 15:08:27 -03:00
parent 46a7d20c12
commit 0ab2f2b951
5 changed files with 38 additions and 11 deletions

View File

@@ -108,11 +108,23 @@ pub struct SimulatorCLI {
#[clap(long, help = "disable Reopen-Database fault", default_value_t = false)]
pub disable_reopen_database: bool,
#[clap(
long = "latency_prob",
long = "latency-prob",
help = "added IO latency probability",
default_value_t = 1
)]
pub latency_probability: usize,
#[clap(
long,
help = "Minimum tick time in microseconds for simulated time",
default_value_t = 1
)]
pub min_tick: u64,
#[clap(
long,
help = "Maximum tick time in microseconds for simulated time",
default_value_t = 30
)]
pub max_tick: u64,
#[clap(long, help = "Enable experimental MVCC feature")]
pub experimental_mvcc: bool,
#[clap(long, help = "Enable experimental indexing feature")]