Skip to content

Commit 0a909d5

Browse files
fix timeout thresholds and tests
1 parent e079668 commit 0a909d5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

internal/tool/command.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ func createCommandParameters(language string, configurationFile *os.File, filesT
8181
"--json", //"-json_nodots",
8282
"--config", configurationFile.Name(),
8383
/// "-l", language,
84-
"--timeout", "15",
85-
"--timeout-threshold", "3",
84+
"--timeout", "5",
85+
"--timeout-threshold", "50",
8686
"--max-target-bytes", "0",
8787
"--taint-intrafile",
8888
//"--pro",

internal/tool/command_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func TestCreateCommandParameters(t *testing.T) {
4545
//"-lang", language,
4646
"--config", configurationFile.Name(),
4747
"--timeout", "5",
48-
"--timeout-threshold", "3",
48+
"--timeout-threshold", "50",
4949
"--max-target-bytes", "0",
5050
// "-error_recovery",
5151
// "-max_memory", "2560",

0 commit comments

Comments
 (0)