Reset peer's receive timeout when a message is received
* Make advance_clock more realistic by waking timers in order, instead of all at once. * Don't advance the clock when simulating random delays. Co-Authored-By: Keith Simmons <keith@zed.dev> Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Keith Simmons
Nathan Sobo
parent
120f7bbc3d
commit
1f5eab39a9
@@ -2732,8 +2732,6 @@ mod tests {
|
||||
.read_with(cx_a, |tree, _| tree.as_local().unwrap().scan_complete())
|
||||
.await;
|
||||
|
||||
eprintln!("sharing");
|
||||
|
||||
project_a.update(cx_a, |p, cx| p.share(cx)).await.unwrap();
|
||||
|
||||
// Join the worktree as client B.
|
||||
|
||||
Reference in New Issue
Block a user