hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhuvnesh2...@apache.org
Subject [07/12] incubator-hawq git commit: HAWQ-619. Add comments for inputformat test cases.
Date Wed, 06 Apr 2016 03:42:05 GMT
HAWQ-619. Add comments for inputformat test cases.


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

Branch: refs/heads/HAWQ-617
Commit: ec8e791849e6d549d452f5211a7e9a7774b1a783
Parents: 53a9f76
Author: Chunling Wang <wangchunling14@126.com>
Authored: Tue Apr 5 12:03:19 2016 +0800
Committer: Lili Ma <ictmalili@gmail.com>
Committed: Tue Apr 5 13:46:19 2016 +0800

----------------------------------------------------------------------
 .../java/com/pivotal/hawq/mapreduce/SimpleTableLocalTester.java  | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/ec8e7918/contrib/hawq-hadoop/hawq-mapreduce-tool/src/test/java/com/pivotal/hawq/mapreduce/SimpleTableLocalTester.java
----------------------------------------------------------------------
diff --git a/contrib/hawq-hadoop/hawq-mapreduce-tool/src/test/java/com/pivotal/hawq/mapreduce/SimpleTableLocalTester.java
b/contrib/hawq-hadoop/hawq-mapreduce-tool/src/test/java/com/pivotal/hawq/mapreduce/SimpleTableLocalTester.java
index bcec9f1..9c064a2 100644
--- a/contrib/hawq-hadoop/hawq-mapreduce-tool/src/test/java/com/pivotal/hawq/mapreduce/SimpleTableLocalTester.java
+++ b/contrib/hawq-hadoop/hawq-mapreduce-tool/src/test/java/com/pivotal/hawq/mapreduce/SimpleTableLocalTester.java
@@ -51,6 +51,8 @@ public class SimpleTableLocalTester extends SimpleTableTester {
 		final File answerFile	= new File(caseFolder, tableName + ".ans");
 		final File metadataFile	= new File(caseFolder, tableName + ".yaml");
 		final File outputFile	= new File(caseFolder, "output/part-r-00000");
+		final String caseName = tableName.replaceAll("\\.", "_");
+		System.out.println("Executing test case: " + caseName);
 
 		List<String> answers;
 
@@ -106,5 +108,7 @@ public class SimpleTableLocalTester extends SimpleTableTester {
 		// compare result
 		List<String> outputs = Files.readLines(outputFile, Charsets.UTF_8);
 		checkOutput(answers, outputs, table);
+		
+		System.out.println("Successfully finish test case: " + caseName);
 	}
 }


Mime
View raw message