qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Ritchie (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Created: (QPID-2490) TKTestListener's need to use Atomic counters.
Date Fri, 09 Apr 2010 10:21:50 GMT
TKTestListener's need to use Atomic counters.

                 Key: QPID-2490
                 URL: https://issues.apache.org/jira/browse/QPID-2490
             Project: Qpid
          Issue Type: Bug
          Components: Java Tests
    Affects Versions: 0.5
            Reporter: Martin Ritchie
            Priority: Critical

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
discrepencies are occuring.

       if ("Error".equals(r.testState))
        else if ("Failure".equals(r.testState))
        else if ("Pass".equals(r.testState))


This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org

View raw message