Repository: sqoop Updated Branches: refs/heads/sqoop2 2a01ff2c8 -> 05e60b969
SQOOP-2731: Sqoop2: DisabledObjectsTest creates table that is too long for oracle (Abraham Fine via Jarek Jarcec Cecho) Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/05e60b96 Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/05e60b96 Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/05e60b96 Branch: refs/heads/sqoop2 Commit: 05e60b969bba92251a6e66b206c59d9a505ff50d Parents: 2a01ff2 Author: Jarek Jarcec Cecho <[email protected]> Authored: Thu Dec 10 11:55:40 2015 +0100 Committer: Jarek Jarcec Cecho <[email protected]> Committed: Thu Dec 10 11:55:40 2015 +0100 ---------------------------------------------------------------------- .../server/SubmissionWithDisabledModelObjectsTest.java | 7 +++++++ 1 file changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/sqoop/blob/05e60b96/test/src/test/java/org/apache/sqoop/integration/server/SubmissionWithDisabledModelObjectsTest.java ---------------------------------------------------------------------- diff --git a/test/src/test/java/org/apache/sqoop/integration/server/SubmissionWithDisabledModelObjectsTest.java b/test/src/test/java/org/apache/sqoop/integration/server/SubmissionWithDisabledModelObjectsTest.java index c2709a7..b309c86 100644 --- a/test/src/test/java/org/apache/sqoop/integration/server/SubmissionWithDisabledModelObjectsTest.java +++ b/test/src/test/java/org/apache/sqoop/integration/server/SubmissionWithDisabledModelObjectsTest.java @@ -19,6 +19,7 @@ package org.apache.sqoop.integration.server; import org.apache.sqoop.client.ClientError; import org.apache.sqoop.common.SqoopException; +import org.apache.sqoop.common.test.db.TableName; import org.apache.sqoop.connector.hdfs.configuration.ToFormat; import org.apache.sqoop.error.code.DriverError; import org.apache.sqoop.model.MLink; @@ -129,4 +130,10 @@ public class SubmissionWithDisabledModelObjectsTest extends SqoopTestCase { } } } + + // The default table name is too long for oracle + @Override + public TableName getTableName() { + return new TableName("DisabledObjectsTest"); + } }
