Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Later
-
0.5
-
None
Description
Currently the TKTestListener's use int to record results. In a multi-threaded test this is not safe. They should be updated to Atomic values. So that Error+Failed+Pass === Total. Currently discrepancies are occurring.
if ("Error".equals(r.testState))
{ numError++; }else if ("Failure".equals(r.testState))
{ numFailed++; }else if ("Pass".equals(r.testState))
{ numPassed++; }totalTests++;