Skip to content
Snippets Groups Projects
Commit d3b1a934 authored by Samanta Navarro's avatar Samanta Navarro
Browse files

tor-basic-utils: Add RetryDelay::reset test

parent a566f82d
No related branches found
No related tags found
No related merge requests found
......@@ -143,6 +143,8 @@ mod test {
assert_eq!(rd.delay_bounds(), (1000, 4500));
rd.last_delay_ms = 3_000_000_000;
assert_eq!(rd.delay_bounds(), (1000, std::u32::MAX));
rd.reset();
assert_eq!(rd.delay_bounds(), (1000, 1001));
}
#[test]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment