----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33683/#review82620 -----------------------------------------------------------
Ship it! Minor comment. Otherwise looks good. exec/jdbc/src/test/java/org/apache/drill/jdbc/test/Drill2128GetColumnsDataTypeNotTypeCodeIntBugsTest.java <https://reviews.apache.org/r/33683/#comment133377> (minor) Why not use the same pattern as the other tests that use Driver.connect(...). - Parth Chandra On April 29, 2015, 8:50 p.m., Daniel Barclay wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/33683/ > ----------------------------------------------------------- > > (Updated April 29, 2015, 8:50 p.m.) > > > Review request for drill, Hanifi Gunes and Parth Chandra. > > > Bugs: DRILL-2887 > https://issues.apache.org/jira/browse/DRILL-2887 > > > Repository: drill-git > > > Description > ------- > > - Removed use of Jdbc.connect() from: > -- Drill2128GetColumnsDataTypeNotTypeCodeIntBugsTest > -- Drill2489CallsAfterCloseThrowExceptionsTest > - Added (manual) test for use of auto-resetting connection. [JdbcTest] > - Documented need to avoid Jdbc.connect() in above and similar tests. > - Add "document" TODO for JdbcTest. > > > Diffs > ----- > > > exec/jdbc/src/test/java/org/apache/drill/jdbc/ConnectionTransactionMethodsTest.java > dd92c9b > > exec/jdbc/src/test/java/org/apache/drill/jdbc/DatabaseMetaDataGetColumnsTest.java > 0f3d838 > exec/jdbc/src/test/java/org/apache/drill/jdbc/DatabaseMetaDataTest.java > 8b885a4 > exec/jdbc/src/test/java/org/apache/drill/jdbc/JdbcTest.java e486898 > > exec/jdbc/src/test/java/org/apache/drill/jdbc/ResultSetGetMethodConversionsTest.java > eced72b > > exec/jdbc/src/test/java/org/apache/drill/jdbc/test/Bug1735ConnectionCloseTest.java > 78a8af2 > > exec/jdbc/src/test/java/org/apache/drill/jdbc/test/Drill2128GetColumnsDataTypeNotTypeCodeIntBugsTest.java > 38c6d46 > > exec/jdbc/src/test/java/org/apache/drill/jdbc/test/Drill2463GetNullsFailedWithAssertionsBugTest.java > 1d1361a > > exec/jdbc/src/test/java/org/apache/drill/jdbc/test/Drill2489CallsAfterCloseThrowExceptionsTest.java > 3282945 > > Diff: https://reviews.apache.org/r/33683/diff/ > > > Testing > ------- > > Ran regular tests; no new failures. > > > Thanks, > > Daniel Barclay > >