chukwa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ey...@apache.org
Subject svn commit: r793774 - /hadoop/chukwa/trunk/src/test/org/apache/hadoop/chukwa/extraction/demux/processor/mapper/TestJobLogEntry.java
Date Tue, 14 Jul 2009 01:25:19 GMT
Author: eyang
Date: Tue Jul 14 01:25:18 2009
New Revision: 793774

URL: http://svn.apache.org/viewvc?rev=793774&view=rev
Log:
CHUKWA-335. Discard test case for meta line in the job history log file.  (Eric Yang)

Modified:
    hadoop/chukwa/trunk/src/test/org/apache/hadoop/chukwa/extraction/demux/processor/mapper/TestJobLogEntry.java

Modified: hadoop/chukwa/trunk/src/test/org/apache/hadoop/chukwa/extraction/demux/processor/mapper/TestJobLogEntry.java
URL: http://svn.apache.org/viewvc/hadoop/chukwa/trunk/src/test/org/apache/hadoop/chukwa/extraction/demux/processor/mapper/TestJobLogEntry.java?rev=793774&r1=793773&r2=793774&view=diff
==============================================================================
--- hadoop/chukwa/trunk/src/test/org/apache/hadoop/chukwa/extraction/demux/processor/mapper/TestJobLogEntry.java
(original)
+++ hadoop/chukwa/trunk/src/test/org/apache/hadoop/chukwa/extraction/demux/processor/mapper/TestJobLogEntry.java
Tue Jul 14 01:25:18 2009
@@ -59,12 +59,7 @@
 
 	public void testJobLogEntry() {
     JobLog jobLog = new JobLog();
-		JobLogLine log = jobLog.getJobLogLine(testLogList.get(0));
-		assertEquals("Meta", log.getLogType());
-		assertEquals("1", log.get("VERSION"));
-		assertEquals(0l, log.getTimestamp());
-		
-		log = jobLog.getJobLogLine(testLogList.get(1));
+		JobLogLine log = jobLog.getJobLogLine(testLogList.get(1));
 		assertEquals("JobData", log.getLogType());
 		assertEquals("hdfs://test33/tmp/hadoop-gmon/mapred/system/job_200903062215_0577/job\\.xml",
log.get("JOBCONF"));
 		assertEquals("job_200903062215_0577", log.get("JOBID"));



Mime
View raw message