Return-Path: Delivered-To: apmail-incubator-cxf-commits-archive@locus.apache.org Received: (qmail 42679 invoked from network); 1 Nov 2006 04:03:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Nov 2006 04:03:42 -0000 Received: (qmail 15932 invoked by uid 500); 1 Nov 2006 04:03:53 -0000 Delivered-To: apmail-incubator-cxf-commits-archive@incubator.apache.org Received: (qmail 15877 invoked by uid 500); 1 Nov 2006 04:03:53 -0000 Mailing-List: contact cxf-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-commits@incubator.apache.org Received: (qmail 15865 invoked by uid 99); 1 Nov 2006 04:03:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Oct 2006 20:03:52 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Oct 2006 20:03:41 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 7191F1A9846; Tue, 31 Oct 2006 20:03:17 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r469776 - /incubator/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java Date: Wed, 01 Nov 2006 04:03:17 -0000 To: cxf-commits@incubator.apache.org From: ningjiang@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061101040317.7191F1A9846@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ningjiang Date: Tue Oct 31 20:03:16 2006 New Revision: 469776 URL: http://svn.apache.org/viewvc?view=rev&rev=469776 Log: Wait for a while for the jms session recycling in testRoundTripDestination to avoid NPE Modified: incubator/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java Modified: incubator/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java?view=diff&rev=469776&r1=469775&r2=469776 ============================================================================== --- incubator/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java (original) +++ incubator/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java Tue Oct 31 20:03:16 2006 @@ -188,7 +188,9 @@ // create the thread to handler the Destination incomming message waitForReceiveInMessage(); - verifyDestinationReceivedMessage(inMessage); + verifyDestinationReceivedMessage(inMessage); + // wait for a while for the jms session recycling + Thread.sleep(1000); destination.shutdown(); }