WARNING: Version 5.x has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Forcing nodes
editForcing nodes
editSometimes you might want to fire a single request to a specific node. You can do so using the ForceNode
request configuration. This will ignore the pool and not retry.
var audit = new Auditor(() => Framework.Cluster .Nodes(10) .ClientCalls(r => r.SucceedAlways()) .ClientCalls(r => r.OnPort(9208).FailAlways()) .StaticConnectionPool() .Settings(s => s.DisablePing()) ); audit = await audit.TraceCall( new ClientCall(r => r.ForceNode(new Uri("http://localhost:9208"))) { { BadResponse, 9208 } } );