Skip to content

Commit

Permalink
wip one timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
M4tteoP committed Aug 9, 2024
1 parent 8900a75 commit 0f857ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions testing/coreruleset/coreruleset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,9 @@ SecRule REQUEST_HEADERS:X-CRS-Test "@rx ^.*$" \
// Tests would not just be ignored, but new expectations would be set for the specific platform
// E.g. see https://github.com/coreruleset/coreruleset/blob/main/tests/regression/nginx-overrides.yaml
res, err := runner.Run(cfg, tests, runner.RunnerConfig{
ShowTime: false,
ConnectTimeout: 10 * time.Second, // WIP: Defaults to 3s but looks to be not enough
ReadTimeout: 10 * time.Second,
ShowTime: false,
//ConnectTimeout: 10 * time.Second, // WIP: Defaults to 3s but looks to be not enough
ReadTimeout: 3 * time.Second, // Defaults to 1s but looks to be not enough
}, output.NewOutput("quiet", os.Stdout))
if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit 0f857ce

Please sign in to comment.