Exemple #1
0
 public PostgreSqlTaskQueueInfoTests()
 {
     mInfoOptions = TestOptions
                    .GetDefaultTaskQueueInfoOptions(ConnectionString);
     mDataSource = new PostgreSqlTaskQueueDataSource(mInfoOptions.ConnectionOptions.ConnectionString,
                                                     TestOptions.DefaultMapping,
                                                     queueFaultErrorThrehsoldCount: 5);
 }
        public PostgreSqlTaskQueueOperationsConsistencyTests()
        {
            mInfoOptions = TestOptions
                           .GetDefaultTaskQueueInfoOptions(ConnectionString);
            mConsumerOptions = TestOptions
                               .GetDefaultTaskQueueConsumerOptions(ConnectionString);
            mProducerOptions = TestOptions
                               .GetDefaultTaskQueueProducerAndResultOptions(ConnectionString);

            mDataSource = new PostgreSqlTaskQueueDataSource(mInfoOptions.ConnectionOptions.ConnectionString,
                                                            TestOptions.DefaultMapping,
                                                            queueFaultErrorThrehsoldCount: 5);
        }