From b4a1bb164b378dfac79d6f63b05f90a781d29db6 Mon Sep 17 00:00:00 2001 From: larsh Date: Fri, 13 Apr 2012 22:49:09 +0000 Subject: [PATCH] HBASE-5604 Addendum. Remove test as per discussion on jira. git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1326002 13f79535-47bb-0310-9956-ffa450edef68 --- .../hadoop/hbase/mapreduce/TestWALPlayer.java | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/src/test/java/org/apache/hadoop/hbase/mapreduce/TestWALPlayer.java b/src/test/java/org/apache/hadoop/hbase/mapreduce/TestWALPlayer.java index 212272b7590..93653afa703 100644 --- a/src/test/java/org/apache/hadoop/hbase/mapreduce/TestWALPlayer.java +++ b/src/test/java/org/apache/hadoop/hbase/mapreduce/TestWALPlayer.java @@ -100,25 +100,4 @@ public class TestWALPlayer { assertEquals(1, r.size()); assertTrue(Bytes.equals(COLUMN2, r.raw()[0].getQualifier())); } - - /** - * Simple test for data parsing - * @throws Exception - */ - @Test - public void testTimeFormat() throws Exception { - Configuration conf = TEST_UTIL.getConfiguration(); - WALPlayer player = new WALPlayer(TEST_UTIL.getConfiguration()); - player.setupTime(conf, HLogInputFormat.END_TIME_KEY); - // make sure if nothing is specified nothing is set - assertNull(conf.get(HLogInputFormat.END_TIME_KEY)); - // test a textual data (including ms) - conf.set(HLogInputFormat.END_TIME_KEY, "2012-4-10T14:21:01.01"); - player.setupTime(conf, HLogInputFormat.END_TIME_KEY); - assertEquals(1334092861001L, conf.getLong(HLogInputFormat.END_TIME_KEY, 0)); - // test with mss as a long - conf.set(HLogInputFormat.END_TIME_KEY, "1334092861010"); - player.setupTime(conf, HLogInputFormat.END_TIME_KEY); - assertEquals(1334092861010L, conf.getLong(HLogInputFormat.END_TIME_KEY, 0)); - } }