We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fd4d4e commit 640cb1dCopy full SHA for 640cb1d
1 file changed
backend/src/state/tests.rs
@@ -293,9 +293,9 @@ fn assign_ip_pair_release_and_reassign_cycle() {
293
#[test]
294
fn double_release_does_not_corrupt_pool() {
295
let state = AppState::new("10.0.0.0/30").unwrap();
296
- let (v4, v6) = state.assign_ip_pair().unwrap();
297
let pool_size_before = state.free_ips.lock().unwrap().len();
298
+ let (v4, v6) = state.assign_ip_pair().unwrap();
299
let (tx, _rx) = mpsc::channel::<bytes::Bytes>(16);
300
state.register_client(v4, v6, tx);
301
state.release_ips(v4, v6);
0 commit comments