sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From venkatran...@apache.org
Subject git commit: SQOOP-1129: PostgreSQL direct test are failing on trunk
Date Wed, 10 Jul 2013 03:01:13 GMT
Updated Branches:
  refs/heads/trunk b8fd60202 -> 00bc001fb


SQOOP-1129: PostgreSQL direct test are failing on trunk

(Jarek Jarcec Cecho via Venkat Ranganathan)


Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/00bc001f
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/00bc001f
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/00bc001f

Branch: refs/heads/trunk
Commit: 00bc001fb9e263c1910b994309d8e3445472f029
Parents: b8fd602
Author: Venkat Ranganathan <venkat@hortonworks.com>
Authored: Tue Jul 9 20:00:37 2013 -0700
Committer: Venkat Ranganathan <venkat@hortonworks.com>
Committed: Tue Jul 9 20:00:37 2013 -0700

----------------------------------------------------------------------
 .../com/cloudera/sqoop/manager/PostgresqlImportTest.java     | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/00bc001f/src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java
----------------------------------------------------------------------
diff --git a/src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java b/src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java
index 7414199..3b5731b 100644
--- a/src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java
+++ b/src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java
@@ -240,13 +240,7 @@ public class PostgresqlImportTest extends ImportJobTestCase {
 
     Path warehousePath = new Path(this.getWarehouseDir());
     Path tablePath = new Path(warehousePath, tableName);
-
-    Path filePath;
-    if (isDirect) {
-      filePath = new Path(tablePath, "data-00000");
-    } else {
-      filePath = new Path(tablePath, "part-m-00000");
-    }
+    Path filePath = new Path(tablePath, "part-m-00000");
 
     File tableFile = new File(tablePath.toString());
     if (tableFile.exists() && tableFile.isDirectory()) {


Mime
View raw message