Print the correct seed on randomized test failure
This commit is contained in:
parent
38f225b575
commit
7c5a5c4ad4
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue