hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-14562) Contract tests to include coverage of {{createNonRecursive()}}
Date Wed, 21 Jun 2017 11:37:00 GMT
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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org


Mime
View raw message