Example #1
0
 protected override void ConfigureTestCluster(TestClusterBuilder builder)
 {
     TestUtils.CheckForAzureStorage();
     builder.CreateSiloAsync = StandaloneSiloHandle.CreateForAssembly(typeof(StreamLifecycleTests).Assembly);
     builder.AddSiloBuilderConfigurator <MySiloBuilderConfigurator>();
     builder.AddClientBuilderConfigurator <MyClientBuilderConfigurator>();
 }
Example #2
0
 protected override void ConfigureTestCluster(TestClusterBuilder builder)
 {
     // The ActivationCount tests rely on CounterStatistic, which is a shared static value, so isolation
     // between silos is obtained using AppDomains.
     builder.CreateSiloAsync             = StandaloneSiloHandle.CreateForAssembly(this.GetType().Assembly);
     builder.Properties["GrainAssembly"] = $"{typeof(SimpleGrain).Assembly}";
 }
Example #3
0
        protected override void ConfigureTestCluster(TestClusterBuilder builder)
        {
            TestUtils.CheckForAzureStorage();

            // Define a cluster of 4, but 2 will be stopped.
            builder.CreateSiloAsync           = StandaloneSiloHandle.CreateForAssembly(this.GetType().Assembly);
            builder.Options.InitialSilosCount = 2;
            builder.AddSiloBuilderConfigurator <MySiloBuilderConfigurator>();
        }