From dev-return-12802-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Fri Oct 03 10:40:45 2008 Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 21504 invoked from network); 3 Oct 2008 10:40:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Oct 2008 10:40:45 -0000 Received: (qmail 73864 invoked by uid 500); 3 Oct 2008 10:40:43 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 73800 invoked by uid 500); 3 Oct 2008 10:40:42 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 73789 invoked by uid 99); 3 Oct 2008 10:40:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2008 03:40:42 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2008 10:39:47 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 95283234C20F for ; Fri, 3 Oct 2008 03:39:52 -0700 (PDT) Message-ID: <1710733323.1223030392595.JavaMail.jira@brutus> Date: Fri, 3 Oct 2008 03:39:52 -0700 (PDT) From: "Gary Tully (JIRA)" To: dev@activemq.apache.org Subject: [jira] Created: (AMQ-1966) Validate failing asserts w.r.t inFlight statistics in MasterSlaveTempQueueMemoryTest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Validate failing asserts w.r.t inFlight statistics in MasterSlaveTempQueueMemoryTest ------------------------------------------------------------------------------------ Key: AMQ-1966 URL: https://issues.apache.org/activemq/browse/AMQ-1966 Project: ActiveMQ Issue Type: Bug Components: Test Cases Affects Versions: 5.2.0 Reporter: Gary Tully activemq/trunk/activemq-core/src/test/java/org/apache/activemq/advisory/MasterSlaveTempQueueMemoryTest.java There are a few REVISITS in the test w.r.t asserts that should be valid. The slave should be an exact mirror of the master. The questions posed in the comments need to be addressed. {code} // REVISIT the following two are not dependable at the moment, off by a small number // for some reason? The work for a COUNT < ~500 // //assertEquals("inflight match", rb.getDestinationStatistics().getInflight().getCount(), masterRb.getDestinationStatistics().getInflight().getCount()); //assertEquals("enqueues match", rb.getDestinationStatistics().getEnqueues().getCount(), masterRb.getDestinationStatistics().getEnqueues().getCount()); {code} {code} // master does not always reach expected total, should be assertEquals.., why? {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.