public void TestInitialize() { TestContext.WriteLine("TestInitialize"); storageProviderManager = new StorageProviderManager(new GrainFactory(), new DefaultServiceProvider()); storageProviderManager.LoadEmptyStorageProviders(new ClientProviderRuntime(new GrainFactory(), new DefaultServiceProvider())).WaitWithThrow(TestConstants.InitTimeout); providerCfgProps.Clear(); LocalDataStoreInstance.LocalDataStore = null; }
public PersistenceProviderTests_Local(ITestOutputHelper output) { this.output = output; storageProviderManager = new StorageProviderManager(new GrainFactory(), null); storageProviderManager.LoadEmptyStorageProviders(new ClientProviderRuntime(new GrainFactory(), null)).WaitWithThrow(TestConstants.InitTimeout); providerCfgProps.Clear(); SerializationManager.InitializeForTesting(); LocalDataStoreInstance.LocalDataStore = null; }
public PersistenceProviderTests_Local(ITestOutputHelper output, TestEnvironmentFixture fixture) { this.output = output; this.fixture = fixture; storageProviderManager = new StorageProviderManager( fixture.GrainFactory, fixture.Services, new ClientProviderRuntime(fixture.InternalGrainFactory, fixture.Services)); storageProviderManager.LoadEmptyStorageProviders().WaitWithThrow(TestConstants.InitTimeout); providerCfgProps.Clear(); }
public PersistenceProviderTests_Local(ITestOutputHelper output) { this.output = output; var testEnvironment = new SerializationTestEnvironment(); storageProviderManager = new StorageProviderManager( testEnvironment.GrainFactory, null, new ClientProviderRuntime(testEnvironment.GrainFactory, null)); storageProviderManager.LoadEmptyStorageProviders().WaitWithThrow(TestConstants.InitTimeout); providerCfgProps.Clear(); testEnvironment.InitializeForTesting(); LocalDataStoreInstance.LocalDataStore = null; }