You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Konstantin Boudnik (JIRA)" <ji...@apache.org> on 2010/02/22 19:58:27 UTC

[jira] Reopened: (HDFS-913) TestRename won't run automatically from 'run-test-hdfs-faul-inject' target

     [ 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.