falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sowmya...@apache.org
Subject falcon git commit: FALCON-1195 ClusterEntityParserTest fails intermittently - fixed Checkstyle errors. Contributed by Balu Vellanki
Date Tue, 12 May 2015 18:33:19 GMT
Repository: falcon
Updated Branches:
  refs/heads/master 41af88ffc -> d9233f741


FALCON-1195 ClusterEntityParserTest fails intermittently - fixed Checkstyle errors. Contributed
by Balu Vellanki


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

Branch: refs/heads/master
Commit: d9233f74116065ea422895d7f9c41d6d1899f2f6
Parents: 41af88f
Author: Sowmya Ramesh <sramesh@hortonworks.com>
Authored: Tue May 12 11:33:14 2015 -0700
Committer: Sowmya Ramesh <sramesh@hortonworks.com>
Committed: Tue May 12 11:33:14 2015 -0700

----------------------------------------------------------------------
 .../org/apache/falcon/entity/parser/ClusterEntityParserTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/d9233f74/common/src/test/java/org/apache/falcon/entity/parser/ClusterEntityParserTest.java
----------------------------------------------------------------------
diff --git a/common/src/test/java/org/apache/falcon/entity/parser/ClusterEntityParserTest.java
b/common/src/test/java/org/apache/falcon/entity/parser/ClusterEntityParserTest.java
index 0408c2a..69230b2 100644
--- a/common/src/test/java/org/apache/falcon/entity/parser/ClusterEntityParserTest.java
+++ b/common/src/test/java/org/apache/falcon/entity/parser/ClusterEntityParserTest.java
@@ -54,7 +54,7 @@ import java.io.StringWriter;
 public class ClusterEntityParserTest extends AbstractTestBase {
 
     private final ClusterEntityParser parser = (ClusterEntityParser) EntityParserFactory.getParser(EntityType.CLUSTER);
-    private final String CLUSTER_LOCATIONS_BASE_DIR = "/projects/falcon/ClusterEntityParserTestLocations/";
+    private static final String CLUSTER_LOCATIONS_BASE_DIR = "/projects/falcon/ClusterEntityParserTestLocations/";
 
     @Test
     public void testParse() throws IOException, FalconException, JAXBException {
@@ -64,7 +64,7 @@ public class ClusterEntityParserTest extends AbstractTestBase {
         Cluster cluster = parser.parse(stream);
         ClusterHelper.getInterface(cluster, Interfacetype.WRITE)
                 .setEndpoint(conf.get(HadoopClientFactory.FS_DEFAULT_NAME_KEY));
-        Locations locations = getClusterLocations("staging0","working0");
+        Locations locations = getClusterLocations("staging0", "working0");
         cluster.setLocations(locations);
 
         Assert.assertNotNull(cluster);


Mime
View raw message