mirror of
https://github.com/telemt/telemt.git
synced 2026-04-18 11:04:09 +03:00
Implement aggressive shape hardening mode and related tests
This commit is contained in:
@@ -64,7 +64,7 @@ async fn user_connection_reservation_drop_enqueues_cleanup_synchronously() {
|
||||
drop(reservation);
|
||||
|
||||
// The IP is now inside the cleanup_queue, check that the queue has length 1
|
||||
let queue_len = ip_tracker.cleanup_queue.lock().unwrap().len();
|
||||
let queue_len = ip_tracker.cleanup_queue_len_for_tests();
|
||||
assert_eq!(
|
||||
queue_len, 1,
|
||||
"Reservation drop must push directly to synchronized IP queue"
|
||||
|
||||
Reference in New Issue
Block a user