----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28463/#review63098 -----------------------------------------------------------
Ship it! I could reproduce too..Great catch.! lets remove unit test and commit the actual fix ! a follow up for an integration test that can simulate this across sqoop servers starts, its hard to automate this still. - Veena Basavaraj On Nov. 25, 2014, 6:49 p.m., Qian Xu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/28463/ > ----------------------------------------------------------- > > (Updated Nov. 25, 2014, 6:49 p.m.) > > > Review request for Sqoop. > > > Bugs: SQOOP-1812 > https://issues.apache.org/jira/browse/SQOOP-1812 > > > Repository: sqoop-sqoop2 > > > Description > ------- > > Unexpected behaviour: Sqoop2 server tries to add an existing constraint > repeatedly. > > > Diffs > ----- > > > repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepositoryHandler.java > 907978f > > repository/repository-derby/src/test/java/org/apache/sqoop/repository/derby/TestRespositorySchemaUpgrade.java > 928c34a > > Diff: https://reviews.apache.org/r/28463/diff/ > > > Testing > ------- > > Added a test case to guard the scenario > > > Thanks, > > Qian Xu > >
