IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Allowed status codes
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Allowed status codes
editvar audit = new Auditor(() => VirtualClusterWith .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 } } );
Was this helpful?
Thank you for your feedback.