Exemplo n.º 1
0
 public void Dispose()
 {
     AzureQueueStreamProviderUtils.DeleteAllUsedAzureQueues(this.loggerFactory, AZURE_QUEUE_STREAM_PROVIDER_NAME, this.clusterId, TestDefaultConfiguration.DataConnectionString).Wait();
 }
 public override void Dispose()
 {
     AzureQueueStreamProviderUtils.DeleteAllUsedAzureQueues(NullLoggerFactory.Instance,
                                                            AzureQueueUtilities.GenerateQueueNames(this.HostedCluster.Options.ClusterId, queueCount),
                                                            TestDefaultConfiguration.DataConnectionString).Wait();
 }
Exemplo n.º 3
0
        public override async Task DisposeAsync()
        {
            await base.DisposeAsync();

            if (!string.IsNullOrWhiteSpace(TestDefaultConfiguration.DataConnectionString))
            {
                var serviceId = this.HostedCluster.Client.ServiceProvider.GetRequiredService <IOptions <ClusterOptions> >().Value.ServiceId;
                await AzureQueueStreamProviderUtils.DeleteAllUsedAzureQueues(NullLoggerFactory.Instance, AzureQueueStreamProviderUtils.GenerateDefaultAzureQueueNames(serviceId, AQStreamProviderName),
                                                                             new AzureQueueOptions().ConfigureTestDefaults());

                await TestAzureTableStorageStreamFailureHandler.DeleteAll();
            }
        }
Exemplo n.º 4
0
 public override void Dispose()
 {
     base.Dispose();
     if (this.HostedCluster != null)
     {
         var serviceId = this.HostedCluster.Client.ServiceProvider.GetRequiredService <IOptions <ClusterOptions> >().Value.ServiceId;
         AzureQueueStreamProviderUtils.DeleteAllUsedAzureQueues(NullLoggerFactory.Instance, AzureQueueStreamProviderUtils.GenerateDefaultAzureQueueNames(serviceId, AQStreamProviderName),
                                                                TestDefaultConfiguration.DataConnectionString).Wait();
         TestAzureTableStorageStreamFailureHandler.DeleteAll().Wait();
     }
 }
Exemplo n.º 5
0
 public void Dispose()
 {
     AzureQueueStreamProviderUtils.DeleteAllUsedAzureQueues(AZURE_QUEUE_STREAM_PROVIDER_NAME, deploymentId, TestDefaultConfiguration.DataConnectionString).Wait();
 }
 public void TestCleanup()
 {
     AzureQueueStreamProviderUtils.DeleteAllUsedAzureQueues(AQStreamProviderName, DeploymentId, StorageTestConstants.DataConnectionString, logger).Wait();
 }
Exemplo n.º 7
0
 public void Dispose()
 {
     AzureQueueStreamProviderUtils.DeleteAllUsedAzureQueues(AZURE_QUEUE_STREAM_PROVIDER_NAME, deploymentId, StorageTestConstants.DataConnectionString).Wait();
 }
Exemplo n.º 8
0
 public static void DoTestCleanup()
 {
     AzureQueueStreamProviderUtils.DeleteAllUsedAzureQueues(AZURE_QUEUE_STREAM_PROVIDER_NAME, _deploymentId, StorageTestConstants.DataConnectionString, null).Wait();
 }
Exemplo n.º 9
0
 public void Dispose()
 {
     AzureQueueStreamProviderUtils.DeleteAllUsedAzureQueues(this.loggerFactory, azureQueueNames, TestDefaultConfiguration.DataConnectionString).Wait();
 }