You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Veena Basavaraj (JIRA)" <ji...@apache.org> on 2014/10/13 21:47:33 UTC
[jira] [Updated] (SQOOP-1582) Sqoop2: Fix TestDriverHandling test
case
[ https://issues.apache.org/jira/browse/SQOOP-1582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Veena Basavaraj updated SQOOP-1582:
-----------------------------------
Description:
{code}
@Test
public void testFindDriverConfig() throws Exception {
// On empty repository, no driverConfig should be there
assertNull(handler.findDriver(getDerbyDatabaseConnection()));
// Load Connector and DriverConfig into repository
// TODO(VB):FIX why load connector config for driver testing?
loadConnectorAndDriverConfig();
// Retrieve it
MDriver driver = handler.findDriver(getDerbyDatabaseConnection());
assertNotNull(driver);
{code}
was:
fix the upgrade logic for 1498 changes
> Sqoop2: Fix TestDriverHandling test case
> ----------------------------------------
>
> Key: SQOOP-1582
> URL: https://issues.apache.org/jira/browse/SQOOP-1582
> Project: Sqoop
> Issue Type: Improvement
> Reporter: Veena Basavaraj
> Assignee: Veena Basavaraj
>
> {code}
> @Test
> public void testFindDriverConfig() throws Exception {
> // On empty repository, no driverConfig should be there
> assertNull(handler.findDriver(getDerbyDatabaseConnection()));
> // Load Connector and DriverConfig into repository
> // TODO(VB):FIX why load connector config for driver testing?
> loadConnectorAndDriverConfig();
> // Retrieve it
> MDriver driver = handler.findDriver(getDerbyDatabaseConnection());
> assertNotNull(driver);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)