falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajayyad...@apache.org
Subject [09/12] falcon git commit: FALCON-1251 FeedEvictor UT fails intermittently. Contributed by Sandeep Samudrala.
Date Thu, 13 Aug 2015 09:08:53 GMT
FALCON-1251 FeedEvictor UT fails intermittently. Contributed by Sandeep Samudrala.


Project: http://git-wip-us.apache.org/repos/asf/falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/falcon/commit/7f6cc6da
Tree: http://git-wip-us.apache.org/repos/asf/falcon/tree/7f6cc6da
Diff: http://git-wip-us.apache.org/repos/asf/falcon/diff/7f6cc6da

Branch: refs/heads/0.7
Commit: 7f6cc6da36a82bfbb19af08eb888f111b2c9a300
Parents: 8a34965
Author: Ajay Yadava <ajaynsit@gmail.com>
Authored: Tue Aug 11 01:25:44 2015 +0530
Committer: Ajay Yadava <ajaynsit@gmail.com>
Committed: Thu Aug 13 14:37:02 2015 +0530

----------------------------------------------------------------------
 CHANGES.txt                                                        | 2 ++
 .../src/test/java/org/apache/falcon/retention/FeedEvictorTest.java | 1 +
 2 files changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/7f6cc6da/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 43e18e0..a6dc95b 100755
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -85,6 +85,8 @@ Trunk (Unreleased)
     (Suhas Vasu)
 
   BUG FIXES
+    FALCON-1251 FeedEvictor UT fails intermittently(Sandeep Samudrala via Ajay Yadava)
+
     FALCON-1383 MetadataMappingServiceTest#testLineageForTransactionFailure fails randomly(Sandeep
Samudrala via Ajay Yadava)
 
     FALCON-1380 Triage Result throws incorrect error message on prism for an invalid process
instance(Ajay Yadava)

http://git-wip-us.apache.org/repos/asf/falcon/blob/7f6cc6da/retention/src/test/java/org/apache/falcon/retention/FeedEvictorTest.java
----------------------------------------------------------------------
diff --git a/retention/src/test/java/org/apache/falcon/retention/FeedEvictorTest.java b/retention/src/test/java/org/apache/falcon/retention/FeedEvictorTest.java
index 259f5b0..72447da 100644
--- a/retention/src/test/java/org/apache/falcon/retention/FeedEvictorTest.java
+++ b/retention/src/test/java/org/apache/falcon/retention/FeedEvictorTest.java
@@ -381,6 +381,7 @@ public class FeedEvictorTest {
 
             String feedBasePathString = "/data/YYYY/feed1/mmHH/dd/MM/";
             SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
+            dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
             generateInstances(fs, "feed1", dateFormat.toPattern(), 12, TimeUnit.DAYS, "/data",
false);
 
             final String storageUrl = cluster.getConf().get(HadoopClientFactory.FS_DEFAULT_NAME_KEY);


Mime
View raw message