You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2017/06/21 11:37:00 UTC

[jira] [Created] (HADOOP-14562) Contract tests to include coverage of {{createNonRecursive()}}

Steve Loughran created HADOOP-14562:
---------------------------------------

             Summary: Contract tests to include coverage of {{createNonRecursive()}} 
                 Key: HADOOP-14562
                 URL: https://issues.apache.org/jira/browse/HADOOP-14562
             Project: Hadoop Common
          Issue Type: Improvement
          Components: test
    Affects Versions: 2.8.1
            Reporter: Steve Loughran
            Priority: Minor


There's no contract test for {{createNonRecursive()}}  as far as my IDE can see, just one in HDFS.

# review FS spec, make sure it is covered there.
# add it to the abstract creation contract test.
# fix anything which fails.

At a guess, the tests we need are
* verify it fails if there's no parent
* verify it works on root dir
* verify it fails if the parent is a file

* 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org