Skip to content

Commit

Permalink
Increase timeout in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasAlaif committed Dec 18, 2023
1 parent b212115 commit 35b1ef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions smt-log-parser/tests/parse_logs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ fn parse_all_logs() {
let filename = log.unwrap().path();
println!("Parsing {}", filename.display());
let (metadata, parser) = Z3Parser::from_file(filename).unwrap();
// Gives 10 millis per MB (or 10 secs per GB)
let to = Duration::from_millis(500 + (metadata.len() / 100_000));
// Gives 20 millis per MB (or 20 secs per GB)
let to = Duration::from_millis(500 + (metadata.len() / 50_000));
let (timeout, _result) = parser.process_all_timeout(to);
assert!(timeout.is_none());
}
Expand Down

0 comments on commit 35b1ef1

Please sign in to comment.