hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Boudnik (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (HDFS-913) TestRename won't run automatically from 'run-test-hdfs-faul-inject' target
Date Mon, 22 Feb 2010 18:58:27 GMT

     [ https://issues.apache.org/jira/browse/HDFS-913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Konstantin Boudnik reopened HDFS-913:
-------------------------------------


Simple 'svn move' breaks tests compilation:
{noformat}
compile-fault-inject:
     [echo] Start weaving aspects in place
     [iajc] error at public class TestRename {
     [iajc]              ^^^^^^^^^
     [iajc] /Users/cos/work/H0.22/hdfs/src/test/aop/org/apache/hadoop/fs/TestFiRename.java:50:0::0
The public type TestRename must be defined in its own file
     [iajc] MessageHolder:  (215 info)  (1 error) 
     [iajc] [error   0]: error at public class TestRename {
     [iajc]              ^^^^^^^^^
     [iajc] /Users/cos/work/H0.22/hdfs/src/test/aop/org/apache/hadoop/fs/TestFiRename.java:50:0::0
The public type TestRename must be defined in its own file
{noformat}

class has to be renamed as well.

> TestRename won't run automatically from 'run-test-hdfs-faul-inject' target
> --------------------------------------------------------------------------
>
>                 Key: HDFS-913
>                 URL: https://issues.apache.org/jira/browse/HDFS-913
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>            Reporter: Konstantin Boudnik
>            Assignee: Suresh Srinivas
>             Fix For: 0.22.0
>
>
> Fault injection test classes suppose to have {{TestFi}} prefix. Otherwise, JUnit target
won't pick them up as a part of the batch test run. Although, it's still possible to run test
with different names with {{-Dtestcase=}} directive.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message