Example #1
0
 public ThreadContainer(string collectionName, int totalLoopCount, int testCaseIterations, int testCaseIterationDelay, int getsPerIteration, int updatesPerIteration, int instertsPerIteration, int deletesPerIteration, int reportingInterval, int threadIndex, Commandlets.StressTest parent, PowerShellAdapter adapter, ThreadTest parentTest)
 {
     // TODO: Complete member initialization
     _collectionName         = collectionName;
     _totalLoopCount         = totalLoopCount;
     _testCaseIterations     = testCaseIterations;
     _testCaseIterationDelay = testCaseIterationDelay;
     _getsPerIteration       = getsPerIteration;
     _updatesPerIteration    = updatesPerIteration;
     _instertsPerIteration   = instertsPerIteration;
     _deletesPerIteration    = deletesPerIteration;
     _reportingInterval      = reportingInterval;
     _threadIndex            = threadIndex;
     _parent     = parent;
     _adapter    = adapter;
     _parentTest = parentTest;
 }
Example #2
0
 public ThreadTest(string connectionString, string collectionName, int threadCount, int totalLoopCount, int testCaseIterations, int testCaseIterationDelay, int getsPerIteration, int updatesPerIteration, int instertsPerIteration, int deletesPerIteration, int reportingInterval, int maxDocs, Commandlets.StressTest stressTest)
 {
     adapter                 = new PowerShellAdapter(stressTest);
     _connectionString       = connectionString;
     _collectionName         = collectionName;
     _threadCount            = threadCount;
     _totalLoopCount         = totalLoopCount;
     _testCaseIterations     = testCaseIterations;
     _testCaseIterationDelay = testCaseIterationDelay;
     _getsPerIteration       = getsPerIteration;
     _updatesPerIteration    = updatesPerIteration;
     _instertsPerIteration   = instertsPerIteration;
     _deletesPerIteration    = deletesPerIteration;
     _reportingInterval      = reportingInterval;
     _maxDocuments           = maxDocs;
     parent = stressTest;
 }