Akka.Cluster.Tests.ClusterConfigSpec.Clustering_should_have_correct_default_fork_join_dispatcher C# (CSharp) Method

Clustering_should_have_correct_default_fork_join_dispatcher() private method

        public void Clustering_should_have_correct_default_fork_join_dispatcher()
        {
            var dispatchConfig = Sys.Settings.Config.GetConfig("akka.cluster.default-cluster-dispatcher");
            var dispatcherThreadPoolSettings = dispatchConfig.GetConfig("dedicated-thread-pool");

            var dispatcherType = dispatchConfig.GetString("type");
            var threadCount = dispatcherThreadPoolSettings.GetInt("thread-count");

            Assert.Equal("ForkJoinDispatcher", dispatcherType);
            Assert.Equal(4, threadCount);
        }
    }