Compare commits

...

1 Commits

Author SHA1 Message Date
Antonio Scandurra
56b9e9b039 Bump fsevent tests timeout to 30s on CI 2025-11-19 10:23:32 +01:00

View File

@@ -500,12 +500,17 @@ mod tests {
}
fn flush_historical_events() {
thread::sleep(timeout());
let timeout = if std::env::var("CI").is_ok() {
Duration::from_secs(2)
} else {
Duration::from_millis(500)
};
thread::sleep(timeout);
}
fn timeout() -> Duration {
if std::env::var("CI").is_ok() {
Duration::from_secs(4)
Duration::from_secs(30)
} else {
Duration::from_millis(500)
}