Exemple #1
0
 public AzureTableDataManagerTests()
 {
     TestingUtils.ConfigureThreadPoolSettingsForStorageTests();
     // Pre-create table, if required
     manager      = new UnitTestAzureTableDataManager(StorageTestConstants.DataConnectionString);
     PartitionKey = "PK-AzureTableDataManagerTests-" + Guid.NewGuid();
 }
 public AzureTableDataManagerTests()
 {
     TestingUtils.ConfigureThreadPoolSettingsForStorageTests();
     // Pre-create table, if required
     manager      = new UnitTestAzureTableDataManager(TestDefaultConfiguration.DataConnectionString, NullLoggerFactory.Instance);
     PartitionKey = "PK-AzureTableDataManagerTests-" + Guid.NewGuid();
 }
        public DynamoDBStorageStressTests(DynamoDBStorageTestsFixture fixture, ITestOutputHelper output)
        {
            this.output = output;
            TestingUtils.ConfigureThreadPoolSettingsForStorageTests();

            manager      = fixture.DataManager;
            PartitionKey = "PK-DynamoDBDataManagerStressTests-" + Guid.NewGuid();
        }
Exemple #4
0
        public AzureTableDataManagerStressTests(ITestOutputHelper output)
        {
            this.output = output;
            TestingUtils.ConfigureThreadPoolSettingsForStorageTests();

            // Pre-create table, if required
            manager = new UnitTestAzureTableDataManager(TestDefaultConfiguration.DataConnectionString, NullLoggerFactory.Instance);

            PartitionKey = "AzureTableDataManagerStressTests-" + Guid.NewGuid();
        }
Exemple #5
0
        public AzureTableDataManagerStressTests(ITestOutputHelper output)
        {
            this.output = output;
            TestingUtils.ConfigureThreadPoolSettingsForStorageTests();

            // Pre-create table, if required
            manager = new UnitTestAzureTableDataManager();

            PartitionKey = "AzureTableDataManagerStressTests-" + Guid.NewGuid();
        }
Exemple #6
0
        public DynamoDBStorageStressTests(DynamoDBStorageTestsFixture fixture, ITestOutputHelper output)
        {
            if (!AWSTestConstants.IsDynamoDbAvailable)
            {
                throw new SkipException("Unable to connect to AWS DynamoDB simulator");
            }

            this.output = output;
            TestingUtils.ConfigureThreadPoolSettingsForStorageTests();

            manager      = fixture.DataManager;
            PartitionKey = "PK-DynamoDBDataManagerStressTests-" + Guid.NewGuid();
        }