Fixed a bug in SetTestParameter that threw exception when not enough test data f…
…or autosplit between agents.
Showing
3 changed files
with
1 additions
and
1 deletions
| ... | @@ -362,6 +362,7 @@ namespace LIL_VSTT_Plugins | ... | @@ -362,6 +362,7 @@ namespace LIL_VSTT_Plugins |
| 362 | 362 | ||
| 363 | public void Initialize(LoadTest loadTest) | 363 | public void Initialize(LoadTest loadTest) |
| 364 | { | 364 | { |
| 365 | m_loadTest = loadTest; | ||
| 365 | // Only run on specific agents if specified | 366 | // Only run on specific agents if specified |
| 366 | if (myAgentNames.Length > 0 && !myAgentNames.ToLower().Contains(loadTest.Context.AgentName.ToLower())) return; | 367 | if (myAgentNames.Length > 0 && !myAgentNames.ToLower().Contains(loadTest.Context.AgentName.ToLower())) return; |
| 367 | 368 | ||
| ... | @@ -370,7 +371,6 @@ namespace LIL_VSTT_Plugins | ... | @@ -370,7 +371,6 @@ namespace LIL_VSTT_Plugins |
| 370 | 371 | ||
| 371 | if (myParams.Count > 0) | 372 | if (myParams.Count > 0) |
| 372 | { | 373 | { |
| 373 | m_loadTest = loadTest; | ||
| 374 | if (myUseUniqueIteration) | 374 | if (myUseUniqueIteration) |
| 375 | m_loadTest.TestStarting += new EventHandler<TestStartingEventArgs>(loadTestStartingUniqueIteration); | 375 | m_loadTest.TestStarting += new EventHandler<TestStartingEventArgs>(loadTestStartingUniqueIteration); |
| 376 | else if(myUseUniqueTestIteration) | 376 | else if(myUseUniqueTestIteration) | ... | ... |
No preview for this file type
No preview for this file type
-
Please register or sign in to post a comment