Skip to content

Commit

Permalink
test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
M4tteoP committed Aug 9, 2024
1 parent bc44a14 commit 7bd957d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion testing/coreruleset/coreruleset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
"strconv"
"strings"
"testing"
"time"

"github.com/bmatcuk/doublestar/v4"
"github.com/coreruleset/go-ftw/config"
Expand Down Expand Up @@ -278,7 +279,8 @@ 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,
ShowTime: false,
ConnectTimeout: 10 * time.Second, // WIP: Defaults to 3s but looks to be not enough
}, output.NewOutput("quiet", os.Stdout))
if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit 7bd957d

Please sign in to comment.