Revert "Stabilize throttled file watcher test"

This reverts commit 2fcc17eb35.
This commit is contained in:
Liang-Ting Jiang
2026-04-27 14:22:24 -07:00
parent 6d28c1af6a
commit b6cb40e2fd

View File

@@ -36,11 +36,6 @@ async fn throttled_receiver_coalesces_within_interval() {
})
);
// Reset the throttle window relative to "now" so this assertion does not
// depend on how much wall-clock time slow CI spent between the first recv
// and the second send.
throttled.next_allowed = Some(Instant::now() + TEST_THROTTLE_INTERVAL);
tx.add_changed_paths(&[path("b"), path("c")]).await;
let blocked = timeout(TEST_THROTTLE_INTERVAL / 2, throttled.recv()).await;
assert_eq!(blocked.is_err(), true);