Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 99662 invoked from network); 13 Mar 2006 20:32:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Mar 2006 20:32:02 -0000 Received: (qmail 68214 invoked by uid 500); 13 Mar 2006 20:32:02 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 68143 invoked by uid 500); 13 Mar 2006 20:32:01 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 68132 invoked by uid 99); 13 Mar 2006 20:32:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Mar 2006 12:32:01 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Mar 2006 12:32:00 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id A5182D49FC for ; Mon, 13 Mar 2006 20:31:39 +0000 (GMT) Message-ID: <1489036913.1142281899667.JavaMail.jira@ajax> Date: Mon, 13 Mar 2006 20:31:39 +0000 (GMT) From: "Doug Cutting (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Resolved: (HADOOP-70) the two file system tests TestDFS and TestFileSystem take too long In-Reply-To: <1531661681.1141860698913.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HADOOP-70?page=all ] Doug Cutting resolved HADOOP-70: -------------------------------- Fix Version: 0.1 Resolution: Fixed I just committed this. I changed things so that the test config files are in src/test rather than conf/junit. That's the way Nutch does something similar, and it also requires a less classpath manipulation, since src/test is already on the test classpath (although I had to reorder things, to make sure it came ahead of conf/). I also changed the conf files in src/test to be empty, forcing defaults to be used for unit tests. Finally, to implement the test-cluster task, instead of copying the test task I parameterized the test task a bit and call it. > the two file system tests TestDFS and TestFileSystem take too long > ------------------------------------------------------------------ > > Key: HADOOP-70 > URL: http://issues.apache.org/jira/browse/HADOOP-70 > Project: Hadoop > Type: Bug > Components: dfs > Reporter: Owen O'Malley > Assignee: Owen O'Malley > Fix For: 0.1 > Attachments: junit-conf.patch > > Running "ant test" takes hours and uses the conf directory, which forces it to run on the real cluster. > I propose that we split rename the test classes from > src/test/org/apache/hadoop/dfs/TestDFS.java to LongTestDFS.java > src/test/org/apache/hadoop/fs/TestFileSystem.java to LongTestFileSystem.java > and then we set up a new ant target "long-test" that runs all tests that match "**/LongTest*.java". -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira