public void EnsureOrleansHostInitialized()
        {
            var fixtureType    = this.GetType().AssemblyQualifiedName;
            var runningCluster = TestingSiloHost.Instance;

            if (runningCluster != null &&
                previousFixtureType != null &&
                previousFixtureType == fixtureType &&
                runningCluster == previousHostedCluster)
            {
                runningCluster.StopAdditionalSilos();
                this.HostedCluster = runningCluster;
                return;
            }

            previousHostedCluster = null;
            previousFixtureType   = null;

            TestingSiloHost.StopAllSilosIfRunning();
            var siloHostFactory = IsolatedHostedTestClusterUtils.FindTestingSiloHostFactory(this);

            this.HostedCluster    = siloHostFactory.Invoke();
            previousHostedCluster = this.HostedCluster;
            previousFixtureType   = fixtureType;
        }
        public void InitializeOrleansHost()
        {
            TestingSiloHost.StopAllSilosIfRunning();
            var siloHostFactory = IsolatedHostedTestClusterUtils.FindTestingSiloHostFactory(this);

            this.HostedCluster = siloHostFactory.Invoke();
        }