Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.16.14
1.16.15
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ protected override string GetCommandLineArguments()
return $"-c -r {this.Connections} " +
$"{clientIPAddress},0,{serverIPAddress},{this.Port},{this.ConnectionsPerThread},{this.MaxPendingRequestsPerThread},{this.ConnectionDuration},{this.DataTransferMode} " +
$"-i {this.DisplayInterval} -wt {this.WarmupTime} -t {this.TestDuration} " +
$"{((this.DelayTime != 0) ? $"-ds {this.DelayTime}" : string.Empty)}".Trim();
$"{((this.DelayTime != 0) ? $"-ds {this.DelayTime}" : string.Empty)} " +
$"{this.AdditionalParams}".Trim();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public CPSExecutor(IServiceCollection dependencies, IDictionary<string, IConvert
this.Parameters.SetIfNotDefined(nameof(this.WarmupTime), 8);
this.Parameters.SetIfNotDefined(nameof(this.DelayTime), 0);
this.Parameters.SetIfNotDefined(nameof(this.ConfidenceLevel), 99);
this.Parameters.SetIfNotDefined(nameof(this.AdditionalParams), string.Empty);
}

/// <summary>
Expand Down Expand Up @@ -178,6 +179,17 @@ public double ConfidenceLevel
}
}

/// <summary>
/// gets additional optional parameters.
/// </summary>
public string AdditionalParams
{
get
{
return this.Parameters.GetValue<string>(nameof(this.AdditionalParams), string.Empty);
}
}

/// <summary>
/// The retry policy to apply to the startup of the CPS workload to handle
/// transient issues.
Expand Down
Loading