You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by cu...@apache.org on 2006/07/12 10:43:37 UTC

svn commit: r421191 - /lucene/hadoop/trunk/src/test/org/apache/hadoop/fs/TestCopyFiles.java

Author: cutting
Date: Wed Jul 12 01:43:36 2006
New Revision: 421191

URL: http://svn.apache.org/viewvc?rev=421191&view=rev
Log:
Fix TestCopyFiles to comply with HADOOP-327 changes.

Modified:
    lucene/hadoop/trunk/src/test/org/apache/hadoop/fs/TestCopyFiles.java

Modified: lucene/hadoop/trunk/src/test/org/apache/hadoop/fs/TestCopyFiles.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/test/org/apache/hadoop/fs/TestCopyFiles.java?rev=421191&r1=421190&r2=421191&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/test/org/apache/hadoop/fs/TestCopyFiles.java (original)
+++ lucene/hadoop/trunk/src/test/org/apache/hadoop/fs/TestCopyFiles.java Wed Jul 12 01:43:36 2006
@@ -157,7 +157,7 @@
   }
   
   /** copy files from local file system to local file system */
-  public void testCopyFromLocalToLocal() throws IOException {
+  public void testCopyFromLocalToLocal() throws Exception {
     MyFile[] files = createFiles("local", TEST_ROOT_DIR+"/srcdat");
     CopyFiles.main(new String[] {"file://"+TEST_ROOT_DIR+"/srcdat",
       "file://"+TEST_ROOT_DIR+"/destdat"});
@@ -168,7 +168,7 @@
   }
   
   /** copy files from dfs file system to dfs file system */
-  public void testCopyFromDfsToDfs() throws IOException {
+  public void testCopyFromDfsToDfs() throws Exception {
     String namenode = null;
     MiniDFSCluster cluster = null;
     try {
@@ -190,7 +190,7 @@
   }
   
   /** copy files from local file system to dfs file system */
-  public void testCopyFromLocalToDfs() throws IOException {
+  public void testCopyFromLocalToDfs() throws Exception {
     String namenode = null;
     MiniDFSCluster cluster = null;
     try {
@@ -212,7 +212,7 @@
   }
 
   /** copy files from dfs file system to local file system */
-  public void testCopyFromDfsToLocal() throws IOException {
+  public void testCopyFromDfsToLocal() throws Exception {
     String namenode = null;
     MiniDFSCluster cluster = null;
     try {