Skip to content

TestCluster.StartSiloAsync(TestCluster, int, TestClusterOptions, IReadOnlyList<IConfigurationSource>, bool)

StartSiloAsync(TestCluster, int, TestClusterOptions, IReadOnlyList<IConfigurationSource>, bool)

static
View source
public static Task<SiloHandle> StartSiloAsync(TestCluster cluster, int instanceNumber, TestClusterOptions clusterOptions, IReadOnlyList<IConfigurationSource>? configurationOverrides = null, bool startSiloOnNewPort = false)
Start a new silo in the target cluster

Parameters

clusterTestCluster
The TestCluster in which the silo should be deployed
instanceNumberint
The instance number to deploy
clusterOptionsTestClusterOptions
The options to use.
configurationOverridesIReadOnlyList<IConfigurationSource>
Configuration overrides.
startSiloOnNewPortbool
Whether we start this silo on a new port, instead of the default one

Returns

A handle to the silo deployed