|
Philip Zeyliger (JIRA) |
at Jun 1, 2009 at 9:17 pm
|
⇧ |
| |
[
https://issues.apache.org/jira/browse/HADOOP-5948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715261#action_12715261 ]
Philip Zeyliger commented on HADOOP-5948:
-----------------------------------------
+1 on making tests faster.
{quote}
private static String TEST_ROOT_DIR =
new File(System.getProperty("test.build.data", "/tmp")).toURI()
.toString().replace(' ', '+');
{quote}
Definitely off-topic, but I've seen this line, in many different incantations, throughout the code base. Is this something that could be added to UtilsForTest.java once and for all? Do you know why the string replacement is necessary?
Modify TestJavaSerialization to use LocalJobRunner instead of MiniMR/DFS cluster
--------------------------------------------------------------------------------
Key: HADOOP-5948
URL:
https://issues.apache.org/jira/browse/HADOOP-5948Project: Hadoop Core
Issue Type: Test
Components: test
Reporter: Jothi Padmanabhan
Assignee: Jothi Padmanabhan
Fix For: 0.21.0
Attachments: hadoop-5948.patch
TestJavaSerialization currently uses MiniMR/DFS cluster. This test can be done with local job runner also. This reduces the run time of the test from 61 seconds to 6 seconds.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.