Skip to content

Commit

Permalink
increase threshold in timeline matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
onsi committed Oct 29, 2024
1 parent bcab9c8 commit e548367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/test_helpers/fake_reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ func BeSpecEvent(options ...interface{}) OmegaMatcher {
matcher = HaveField("Attempt", x)
description = append(description, fmt.Sprintf("Attempt=%d", x))
case time.Duration:
matcher = HaveField("Duration", BeNumerically("~", x, time.Duration(float64(x)*0.5)))
matcher = HaveField("Duration", BeNumerically("~", x, time.Duration(float64(x)*0.9)))
description = append(description, "Duration="+x.String())
case types.NodeType:
matcher = HaveField("NodeType", x)
Expand Down

0 comments on commit e548367

Please sign in to comment.