Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5092

JDBC driver includes Drill test code

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.8.0
    • None
    • None
    • None

    Description

      The Drill JDBC driver (DrillConnectionImpl contains test code and links to test code. This should be factored out separately so that production code does not contain test classes or options to enable test features.

      In particular:

      import org.apache.drill.exec.util.TestUtilities;
      ...
        private static void makeTmpSchemaLocationsUnique(StoragePluginRegistry pluginRegistry, Properties props) {
      

      As a result of the above, the class TestUtilities is included in the src/main/java directory, not src/test/java as it should.

      Attachments

        Activity

          People

            Unassigned Unassigned
            paul-rogers Paul Rogers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: