[smart-load-test commit] r143 - trunk/smart-load-test/smart-load-test-engine-impl/src/main/java/com/smartitengineering/loa...

0 views
Skip to first unread message

codesite...@google.com

unread,
Oct 29, 2008, 7:18:02 AM10/29/08
to smart-loa...@smartitengineering.com
Author: imyousuf
Date: Wed Oct 29 03:58:05 2008
New Revision: 143

Modified:

trunk/smart-load-test/smart-load-test-engine-impl/src/main/java/com/smartitengineering/loadtest/engine/impl/LoadTestEngineImpl.java

Log:
Add more rollback steps

Previously not everything that was initialized were included in rollback,
thus this change ensure that all are included and rollback works as it
should.

Signed-off-by: Imran M Yousuf <imyo...@smartitengineering.com>

Modified:
trunk/smart-load-test/smart-load-test-engine-impl/src/main/java/com/smartitengineering/loadtest/engine/impl/LoadTestEngineImpl.java
==============================================================================
---
trunk/smart-load-test/smart-load-test-engine-impl/src/main/java/com/smartitengineering/loadtest/engine/impl/LoadTestEngineImpl.java
(original)
+++
trunk/smart-load-test/smart-load-test-engine-impl/src/main/java/com/smartitengineering/loadtest/engine/impl/LoadTestEngineImpl.java
Wed Oct 29 03:58:05 2008
@@ -137,6 +137,14 @@
semaphore = null;
engineBatchListener = null;
finishedDetector = null;
+ executorService = null;
+ caseRecords = null;
+ caseStateChangeListener = null;
+ removeTestCaseTransitionListener(transitionListener);
+ transitionListener = null;
+ result = null;
+ instanceRecords.clear();
+ creators.clear();
}

private void initializeFinishDetector() {

Reply all
Reply to author
Forward
0 new messages