chukwa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asrab...@apache.org
Subject svn commit: r797660 - /hadoop/chukwa/trunk/src/test/org/apache/hadoop/chukwa/util/TestDumpChunks.java
Date Fri, 24 Jul 2009 21:19:58 GMT
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.



Mime
View raw message