mirror of
https://github.com/openai/codex.git
synced 2026-05-18 02:02:30 +00:00
Revert "Stabilize throttled file watcher test"
This reverts commit 2fcc17eb35.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user