Fix FINISHED state detection
commit48564ac8ec9a255fff359c4563232931a21a1701
authorImran M Yousuf <imyousuf@smartitengineering.com>
Tue, 28 Oct 2008 08:45:53 +0000 (28 14:45 +0600)
committerImran M Yousuf <imyousuf@smartitengineering.com>
Tue, 28 Oct 2008 08:45:53 +0000 (28 14:45 +0600)
tree707e7ec7dcdfa86d72923befad5ffbbc272b0a10
parent9b3b8614c11c7796b24171865c5d83b72c2be82f
Fix FINISHED state detection

Firstly, fixed the bug that instance finished in instance record is never
false.

Secondly, add currently active total thread count and check for FINISHED
state when this count is zero as that is the most probable scenario.

Signed-off-by: Imran M Yousuf <imyousuf@smartitengineering.com>
smart-load-test/smart-load-test-engine-impl/src/main/java/com/smartitengineering/loadtest/engine/impl/LoadTestEngineImpl.java