Return-Path: Delivered-To: apmail-hadoop-chukwa-commits-archive@minotaur.apache.org Received: (qmail 19223 invoked from network); 24 Jul 2009 21:19:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Jul 2009 21:19:15 -0000 Received: (qmail 92453 invoked by uid 500); 24 Jul 2009 21:20:20 -0000 Delivered-To: apmail-hadoop-chukwa-commits-archive@hadoop.apache.org Received: (qmail 92437 invoked by uid 500); 24 Jul 2009 21:20:20 -0000 Mailing-List: contact chukwa-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-dev@hadoop.apache.org Delivered-To: mailing list chukwa-commits@hadoop.apache.org Received: (qmail 92426 invoked by uid 99); 24 Jul 2009 21:20:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jul 2009 21:20:20 +0000 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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jul 2009 21:20:18 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1A5482388872; Fri, 24 Jul 2009 21:19:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r797660 - /hadoop/chukwa/trunk/src/test/org/apache/hadoop/chukwa/util/TestDumpChunks.java Date: Fri, 24 Jul 2009 21:19:58 -0000 To: chukwa-commits@hadoop.apache.org From: asrabkin@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090724211958.1A5482388872@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: asrabkin Date: Fri Jul 24 21:19:57 2009 New Revision: 797660 URL: http://svn.apache.org/viewvc?rev=797660&view=rev Log: CHUKWA-358. Pluggable real-time monitoring at collector. Missed a test case mod. Modified: hadoop/chukwa/trunk/src/test/org/apache/hadoop/chukwa/util/TestDumpChunks.java Modified: hadoop/chukwa/trunk/src/test/org/apache/hadoop/chukwa/util/TestDumpChunks.java URL: http://svn.apache.org/viewvc/hadoop/chukwa/trunk/src/test/org/apache/hadoop/chukwa/util/TestDumpChunks.java?rev=797660&r1=797659&r2=797660&view=diff ============================================================================== --- hadoop/chukwa/trunk/src/test/org/apache/hadoop/chukwa/util/TestDumpChunks.java (original) +++ hadoop/chukwa/trunk/src/test/org/apache/hadoop/chukwa/util/TestDumpChunks.java Fri Jul 24 21:19:57 2009 @@ -90,7 +90,7 @@ } } - public void testFilePatternMatching() throws IOException { + public void testFilePatternMatching() throws IOException, java.net.URISyntaxException { File tempDir = new File(System.getProperty("test.build.data", "/tmp")); @@ -113,7 +113,7 @@ String[] args = new String[] {"datatype=Data",path.toString()}; ByteArrayOutputStream capture = new ByteArrayOutputStream(); - DumpChunks.dump(args, conf, FileSystem.getLocal(conf), new PrintStream(capture)); + DumpChunks.dump(args, conf,new PrintStream(capture)); assertTrue(new String(capture.toByteArray()).startsWith("testing\n---")); //now test for matches.