Veena Basavaraj created SQOOP-1997:
--------------------------------------
Summary: Add more Mapreduce tests with different IDFs
Key: SQOOP-1997
URL: https://issues.apache.org/jira/browse/SQOOP-1997
Project: Sqoop
Issue Type: Bug
Components: sqoop2-framework
Reporter: Veena Basavaraj
Fix For: 2.0.0
Map reduce tests in the mapreduce package should mock/ use a test class the IDF
and not rely on a concrete CSVIDF directly.
Also it should add tests for from and to IDF been different
Basic 101 of unit testing is to use mocks for unrelated objects
public class MRJobTestUtil
public class TestMapReduce
public class TestSqoopOutputFormatLoadExecutor
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)