hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomwh...@apache.org
Subject svn commit: r529380 - in /lucene/hadoop/trunk: CHANGES.txt src/test/org/apache/hadoop/dfs/TestCheckpoint.java
Date Mon, 16 Apr 2007 19:44:13 GMT
Author: tomwhite
Date: Mon Apr 16 12:44:12 2007
New Revision: 529380

URL: http://svn.apache.org/viewvc?view=rev&rev=529380
Log:
HADOOP-1258.  Fix TestCheckpoint test case to wait for MiniDFSCluster to be active.  Contributed
by Nigel Daley.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestCheckpoint.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=529380&r1=529379&r2=529380
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Mon Apr 16 12:44:12 2007
@@ -207,6 +207,10 @@
 62. HADOOP-1250.  Move a chmod utility from streaming to FileUtil.
     (omalley via cutting)
 
+63. HADOOP-1258.  Fix TestCheckpoint test case to wait for 
+    MiniDFSCluster to be active.  (Nigel Daley via tomwhite)
+
+
 Release 0.12.3 - 2007-04-06
 
  1. HADOOP-1162.  Fix bug in record CSV and XML serialization of

Modified: lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestCheckpoint.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestCheckpoint.java?view=diff&rev=529380&r1=529379&r2=529380
==============================================================================
--- lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestCheckpoint.java (original)
+++ lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestCheckpoint.java Mon Apr 16 12:44:12
2007
@@ -306,6 +306,7 @@
     // file1 does not exist.
     //
     cluster = new MiniDFSCluster(conf, numDatanodes, false, null);
+    cluster.waitActive();
     fileSys = cluster.getFileSystem();
 
     assertTrue(!fileSys.exists(file1));



Mime
View raw message