Skip to content

Commit eb99c35

Browse files
bors[bot]matklad
andauthored
Merge #5555
5555: Bump test timeout for macs r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
2 parents 020a403 + 97d309e commit eb99c35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/rust-analyzer/tests/heavy_tests/support.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,8 @@ impl Drop for Server {
253253
}
254254

255255
fn recv_timeout(receiver: &Receiver<Message>) -> Option<Message> {
256-
let timeout = Duration::from_secs(120);
256+
let timeout =
257+
if cfg!(target_os = "macos") { Duration::from_secs(300) } else { Duration::from_secs(120) };
257258
select! {
258259
recv(receiver) -> msg => msg.ok(),
259260
recv(after(timeout)) -> _ => panic!("timed out"),

0 commit comments

Comments
 (0)