public override TestingSiloHost CreateSiloHost() { var siloHost = new TestingSiloHost( new TestingSiloOptions { SiloConfigFile = new FileInfo("OrleansConfigurationForTesting.xml"), AdjustConfig = config => { config.AddMemoryStorageProvider("PubSubStore"); config.Globals.RegisterStreamProvider <AzureQueueStreamProvider>(AQStreamProviderName); config.Globals.ClientDropTimeout = TimeSpan.FromSeconds(5); } }, new TestingClientOptions { AdjustConfig = config => { config.RegisterStreamProvider <AzureQueueStreamProvider>(AQStreamProviderName, new Dictionary <string, string>()); config.Gateways.Add(new IPEndPoint(IPAddress.Loopback, 40001)); } }); runner = new ClientStreamTestRunner(siloHost); return(siloHost); }
public override TestingSiloHost CreateSiloHost() { var siloOptions = new TestingSiloOptions { StartFreshOrleans = true, StartSecondary = false, SiloConfigFile = new FileInfo("OrleansConfigurationForTesting.xml"), AdjustConfig = config => { config.AddMemoryStorageProvider("PubSubStore"); config.Globals.RegisterStreamProvider <SimpleMessageStreamProvider>(SMSStreamProviderName); config.Globals.ClientDropTimeout = TimeSpan.FromSeconds(5); } }; var clientOptions = new TestingClientOptions { ClientConfigFile = new FileInfo("ClientConfigurationForTesting.xml"), AdjustConfig = config => { config.RegisterStreamProvider <SimpleMessageStreamProvider>(SMSStreamProviderName); } }; var testHost = new TestingSiloHost(siloOptions, clientOptions); runner = new ClientStreamTestRunner(testHost); return(testHost); }
public override TestingSiloHost CreateSiloHost() { var siloHost = new TestingSiloHost(new TestingSiloOptions { StartFreshOrleans = true, SiloConfigFile = new FileInfo("OrleansConfigurationForTesting.xml"), AdjustConfig = AdjustConfig }, new TestingClientOptions { AdjustConfig = AdjustConfig }); runner = new ClientStreamTestRunner(siloHost); return(siloHost); }
public override async Task InitializeAsync() { await base.InitializeAsync(); runner = new ClientStreamTestRunner(this.HostedCluster); }
public SQSClientStreamTests(ITestOutputHelper output) { this.output = output; runner = new ClientStreamTestRunner(this.HostedCluster); }
public SMSClientStreamTests(ITestOutputHelper output) { this.output = output; runner = new ClientStreamTestRunner(this.HostedCluster); }
public MemoryStreamProviderBatchedClientTests(Fixture fixture) { this.fixture = fixture; runner = new ClientStreamTestRunner(fixture.HostedCluster); }
public MemoryStreamProviderClientTests(Fixture fixture) { runner = new ClientStreamTestRunner(fixture.HostedCluster); }