You are looking at documentation for an older release.
Not what you want? See the
current release documentation.
Allowed status codesedit
var audit = new Auditor(() => Framework.Cluster
.Nodes(10)
.ClientCalls(r => r.FailAlways(400))
.StaticConnectionPool()
.Settings(s => s.DisablePing().MaximumRetries(0))
);
audit = await audit.TraceCalls(
new ClientCall() {
{ BadResponse, 9200 }
},
new ClientCall(r => r.AllowedStatusCodes(400)) {
{ HealthyResponse, 9201 }
}
);