Skip to content

Commit

Permalink
Update tools.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo-Besancon committed Jun 11, 2024
1 parent c8d1b4a commit 0e2ecb8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions massa-bootstrap/src/tests/tools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1249,11 +1249,10 @@ pub fn parametric_test<F, T>(
F: Fn(&T, &mut SmallRng),
{
#[cfg(feature = "heavy_testing")]
let duration = match std::env::var("NEXTEST_PROFILE") {
Ok(s) if s == String::from("ci") => duration,
let duration = match std::env::var("NEXTEST") {
Ok(s) if s == String::from("1") => duration,
_ => duration * 120,
};

for reg in regressions {
println!("[*] Regression {reg}");
let mut rng = SmallRng::seed_from_u64(reg);
Expand Down

0 comments on commit 0e2ecb8

Please sign in to comment.