chukwa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ey...@apache.org
Subject svn commit: r916037 - in /hadoop/chukwa/trunk: CHANGES.txt src/test/org/apache/hadoop/chukwa/dataloader/TestSocketDataLoader.java
Date Wed, 24 Feb 2010 23:28:26 GMT
Author: eyang
Date: Wed Feb 24 23:28:26 2010
New Revision: 916037

URL: http://svn.apache.org/viewvc?rev=916037&view=rev
Log:
CHUKWA-456. Fixed failing unit test. (Eric Yang)

Modified:
    hadoop/chukwa/trunk/CHANGES.txt
    hadoop/chukwa/trunk/src/test/org/apache/hadoop/chukwa/dataloader/TestSocketDataLoader.java

Modified: hadoop/chukwa/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/chukwa/trunk/CHANGES.txt?rev=916037&r1=916036&r2=916037&view=diff
==============================================================================
--- hadoop/chukwa/trunk/CHANGES.txt (original)
+++ hadoop/chukwa/trunk/CHANGES.txt Wed Feb 24 23:28:26 2010
@@ -60,6 +60,8 @@
 
   BUG FIXES
 
+    CHUKWA-456. Fixed failing unit test. (Eric Yang)
+
     CHUKWA-455. Updated slaves.sh to detect collectors list. (Guillermo Pérez)
 
     CHUKWA-453. Specify bash instead of sh in script headers. (Gerrit Jansen van Vuuren via
asrabkin)

Modified: hadoop/chukwa/trunk/src/test/org/apache/hadoop/chukwa/dataloader/TestSocketDataLoader.java
URL: http://svn.apache.org/viewvc/hadoop/chukwa/trunk/src/test/org/apache/hadoop/chukwa/dataloader/TestSocketDataLoader.java?rev=916037&r1=916036&r2=916037&view=diff
==============================================================================
--- hadoop/chukwa/trunk/src/test/org/apache/hadoop/chukwa/dataloader/TestSocketDataLoader.java
(original)
+++ hadoop/chukwa/trunk/src/test/org/apache/hadoop/chukwa/dataloader/TestSocketDataLoader.java
Wed Feb 24 23:28:26 2010
@@ -60,7 +60,7 @@
       Collection<Chunk> clist = sdl.read();
       for(Chunk c : clist) {
         if(c!=null && c.getData()!=null) {
-          assertEquals('a',c.getData());
+          assertEquals("a",c.getData().toString());
         }
       }
     } catch(NoSuchElementException e) {



Mime
View raw message