Skip to content

Commit 8e27486

Browse files
committed
increase timeout
1 parent 7e4fb68 commit 8e27486

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

forc/tests/cli_integration.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ use std::path::PathBuf;
22

33
use rexpect::spawn;
44

5+
const TIMEOUT_MS: u64 = 50000;
6+
57
fn test_fixtures_path() -> PathBuf {
68
PathBuf::from(env!("CARGO_MANIFEST_DIR"))
79
.join("tests")
@@ -19,7 +21,7 @@ fn test_forc_test_decoded_logs() -> Result<(), rexpect::error::Error> {
1921
"cargo run --bin forc -- test --logs --path {}",
2022
project_dir.to_string_lossy()
2123
),
22-
Some(30000),
24+
Some(TIMEOUT_MS),
2325
)?;
2426

2527
// Assert that the output is correct
@@ -41,7 +43,7 @@ fn test_forc_test_raw_logs() -> Result<(), rexpect::error::Error> {
4143
"cargo run --bin forc -- test --raw-logs --path {}",
4244
project_dir.to_string_lossy()
4345
),
44-
Some(30000),
46+
Some(TIMEOUT_MS),
4547
)?;
4648

4749
// Assert that the output is correct
@@ -65,7 +67,7 @@ fn test_forc_test_both_logs() -> Result<(), rexpect::error::Error> {
6567
"cargo run --bin forc -- test --logs --raw-logs --path {}",
6668
project_dir.to_string_lossy()
6769
),
68-
Some(30000),
70+
Some(TIMEOUT_MS),
6971
)?;
7072

7173
// Assert that the output is correct

0 commit comments

Comments
 (0)