Пример #1
0
        public static SerializationTestEnvironment InitializeWithDefaults(ClientConfiguration config = null)
        {
            config = config ?? new ClientConfiguration();
            MixinDefaults(config);

            var result = new SerializationTestEnvironment(config);

            return(result);
        }
Пример #2
0
        protected BaseTestClusterFixture()
        {
            GrainClient.Uninitialize();
            SerializationTestEnvironment.Initialize();
            var testCluster = CreateTestCluster();

            if (testCluster.Primary == null)
            {
                testCluster.Deploy();
            }
            this.HostedCluster = testCluster;
        }
Пример #3
0
        public static SerializationTestEnvironment InitializeWithDefaults(Action <IClientBuilder> configureClientBuilder = null)
        {
            var result = new SerializationTestEnvironment(configureClientBuilder);

            return(result);
        }