sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kathl...@apache.org
Subject git commit: SQOOP-1008: Test TestClassWriter.testNoClassGeneration is failing on JDK7
Date Tue, 23 Apr 2013 22:48:05 GMT
Updated Branches:
  refs/heads/trunk ed2a90363 -> aa6813e36


SQOOP-1008: Test TestClassWriter.testNoClassGeneration is failing on JDK7

(Jarek Jarcec Cecho via Kate Ting)


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

Branch: refs/heads/trunk
Commit: aa6813e36d3b35ecacbce914a163567b19dd03af
Parents: ed2a903
Author: Kate Ting <kathleen@apache.org>
Authored: Tue Apr 23 18:46:47 2013 -0400
Committer: Kate Ting <kathleen@apache.org>
Committed: Tue Apr 23 18:46:47 2013 -0400

----------------------------------------------------------------------
 .../com/cloudera/sqoop/orm/TestClassWriter.java    |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/aa6813e3/src/test/com/cloudera/sqoop/orm/TestClassWriter.java
----------------------------------------------------------------------
diff --git a/src/test/com/cloudera/sqoop/orm/TestClassWriter.java b/src/test/com/cloudera/sqoop/orm/TestClassWriter.java
index 6158fb4..358f3fc 100644
--- a/src/test/com/cloudera/sqoop/orm/TestClassWriter.java
+++ b/src/test/com/cloudera/sqoop/orm/TestClassWriter.java
@@ -513,8 +513,8 @@ public class TestClassWriter extends TestCase {
       writer.generate();
       compileMgr.compile();
       fail("ORM class file generation succeeded when it was expected to fail");
-    } catch (IOException ioe) {
-      LOG.error("Got IOException from ORM generation as expected : "
+    } catch (Exception ioe) {
+      LOG.error("Got Exception from ORM generation as expected : "
         + ioe.toString());
     }
   }


Mime
View raw message