Github user fszabo2 commented on a diff in the pull request:
https://github.com/apache/sqoop/pull/44#discussion_r175484508
--- Diff: src/test/org/apache/sqoop/util/TestMainframeFTPClientUtils.java
---
@@ -362,4 +363,29 @@ public void
testPartitionedDatasetsShouldReturnAllFiles() {
Assert.fail(ioeString);
}
}
+ @Test
+ public void testBinaryTransferMode() throws IOException {
+ final String EXPECTED_RESPONSE = "200 Representation type is Image";
+ final int EXPECTED_RESPONSE_CODE = 200;
+ when(mockFTPClient.login("user", "pssword")).thenReturn(true);
--- End diff --
is the typo "pssword" intentional? Though won't cause any trouble I guess...
---