jay vyas created HADOOP-10461: --------------------------------- Summary: Runtime DI based injector for FileSystem tests Key: HADOOP-10461 URL: https://issues.apache.org/jira/browse/HADOOP-10461 Project: Hadoop Common Issue Type: Bug Reporter: jay vyas Priority: Minor
Currently alot of manual inheritance and stub classes are required in order to run the FileSystemBaseContract and FSMainOperations tests. Lets provide a Guice or other DI based injector for HCFS tests which 1) Injects the file system at runtime. 2) Can easily be adopted for other FileSystems. 3) Can read in System properties to skip certain tests , thus providing support for the type of variability that we know FileSystem tests require. Ideally, we could replace RawLocalFileSystem tests with this injector as a second follow up patch to this, it would reduce the overall amount of code required, probably. -- This message was sent by Atlassian JIRA (v6.2#6252)