Print the correct seed on randomized test failure
This commit is contained in:
@@ -99,7 +99,7 @@ pub fn run_test(
|
||||
println!("retrying: attempt {}", retries);
|
||||
} else {
|
||||
if is_randomized {
|
||||
eprintln!("failing seed: {}", atomic_seed.load(SeqCst));
|
||||
eprintln!("failing seed: {}", atomic_seed.load(SeqCst) - 1);
|
||||
}
|
||||
panic::resume_unwind(error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user