Пример #1
0
        public override void Dispose()
        {
            base.Dispose();
            var dataManager = new AzureTableDataManager <TableEntity>(EHCheckpointTable, TestDefaultConfiguration.DataConnectionString, NullLoggerFactory.Instance);

            dataManager.InitTableAsync().Wait();
            dataManager.ClearTableAsync().Wait();
            TestAzureTableStorageStreamFailureHandler.DeleteAll().Wait();
        }
Пример #2
0
        public override void Dispose()
        {
            base.Dispose();
            var dataManager = new AzureTableDataManager <TableEntity>(CheckpointerSettings.TableName, CheckpointerSettings.DataConnectionString);

            dataManager.InitTableAsync().Wait();
            dataManager.ClearTableAsync().Wait();
            TestAzureTableStorageStreamFailureHandler.DeleteAll().Wait();
        }
Пример #3
0
        public override void Dispose()
        {
            var deploymentId = HostedCluster.DeploymentId;

            base.Dispose();
            AzureQueueStreamProviderUtils.DeleteAllUsedAzureQueues(AQStreamProviderName, deploymentId,
                                                                   StorageTestConstants.DataConnectionString).Wait();
            TestAzureTableStorageStreamFailureHandler.DeleteAll().Wait();
        }
Пример #4
0
 public async Task EHStreamConsumerOnDroppedClientTest()
 {
     logger.Info("************************ EHStreamConsumerOnDroppedClientTest *********************************");
     await runner.StreamConsumerOnDroppedClientTest(StreamProviderName, StreamNamespace, output,
                                                    () => TestAzureTableStorageStreamFailureHandler.GetDeliveryFailureCount(StreamProviderName), true);
 }
Пример #5
0
 public AdapterFactory()
 {
     StreamFailureHandlerFactory = qid => TestAzureTableStorageStreamFailureHandler.Create();
 }