Skip to content

Commit

Permalink
DefaultMaxFailCount = 5_000
Browse files Browse the repository at this point in the history
  • Loading branch information
AntyaDev committed Oct 6, 2022
1 parent aa72b71 commit b88b38a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/NBomber/Api/CSharp.fs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ type NBomberRunner =

/// Sets and overrides the default max fail count.
/// In case of any scenario is reaching max fail count, then NBomber will stop the whole load test.
/// By default MaxFailCount = 10_000
/// By default MaxFailCount = 5_000
[<Extension>]
static member WithMaxFailCount(context: NBomberContext, failCount: int) =
context |> FSharp.NBomberRunner.withMaxFailCount failCount
Expand Down
2 changes: 1 addition & 1 deletion src/NBomber/Api/FSharp.fs
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ module NBomberRunner =

/// Sets and overrides the default max fail count.
/// In case of any scenario is reaching max fail count, then NBomber will stop the whole load test.
/// By default MaxFailCount = 10_000
/// By default MaxFailCount = 5_000
let withMaxFailCount (failCount: int) (context: NBomberContext) =
{ context with MaxFailCount = failCount }

Expand Down
2 changes: 1 addition & 1 deletion src/NBomber/Constants.fs
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ let EmptyInfraConfig = ConfigurationBuilder().Build() :> IConfiguration
[<Literal>]
let StatsRounding = 2
[<Literal>]
let DefaultMaxFailCount = 10_000
let DefaultMaxFailCount = 5_000

0 comments on commit b88b38a

Please sign in to comment.