diff --git a/tests-fuzz/src/generator/alter_expr.rs b/tests-fuzz/src/generator/alter_expr.rs index 08c59fc6ea..2d0bac8fc4 100644 --- a/tests-fuzz/src/generator/alter_expr.rs +++ b/tests-fuzz/src/generator/alter_expr.rs @@ -219,16 +219,9 @@ impl Generator for AlterExprSetTableOptionsGenerator< .iter() .map(|idx| match all_options[*idx] { AlterTableOption::Ttl(_) => { - let ttl_type = rng.random_range(0..3); - match ttl_type { - 0 => { - let duration: u32 = rng.random(); - AlterTableOption::Ttl(Ttl::Duration((duration as i64).into())) - } - 1 => AlterTableOption::Ttl(Ttl::Instant), - 2 => AlterTableOption::Ttl(Ttl::Forever), - _ => unreachable!(), - } + // The database purges expired files in background so it's hard to check + // non-forever TTL. + AlterTableOption::Ttl(Ttl::Forever) } AlterTableOption::TwcsTimeWindow(_) => { let time_window: u32 = rng.random();