mirror of
https://github.com/rui314/mold.git
synced 2026-11-09 04:49:33 -10:00
Raise the default test timeout to 60 seconds
The 80k-section tests take about 2 seconds alone but 13 to 14 seconds on every target when the suite runs 128 jobs at once, so any other load on the machine pushed some of them past 30 seconds. The limit exists to catch hangs, and 60 seconds still does that promptly.
This commit is contained in:
1 parent
43a004eab6
commit
d567d10f15
1 file changed
+1
-1
+1
-1
@@ -19,7 +19,7 @@ use std::time::{Duration, Instant};
|
||||
#[cfg(unix)]
|
||||
use std::os::unix::process::CommandExt;
|
||||
|
||||
const DEFAULT_TIMEOUT: Duration = Duration::from_secs(30);
|
||||
const DEFAULT_TIMEOUT: Duration = Duration::from_secs(60);
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
struct TargetSpec {
|
||||
|
||||
Reference in new issue
Block a user