Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-242

SplunkAdapterTest fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      The test case is commented out because not everyone has splunk on his/her network, but fails regardless of the presence of splunk:

      testSelect(net.hydromatic.optiq.test.SplunkAdapterTest) Time elapsed: 0.002 sec <<< ERROR!
      java.lang.UnsupportedOperationException: null
      at net.hydromatic.avatica.AvaticaConnection.createMeta(AvaticaConnection.java:75)
      at net.hydromatic.avatica.AvaticaConnection.<init>(AvaticaConnection.java:69)
      at net.hydromatic.avatica.AvaticaJdbc41Factory$AvaticaJdbc41Connection.<init>(AvaticaJdbc41Factory.java:112)
      at net.hydromatic.avatica.AvaticaJdbc41Factory.newConnection(AvaticaJdbc41Factory.java:60)
      at net.hydromatic.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:126)
      at net.hydromatic.optiq.impl.splunk.SplunkDriver.connect(SplunkDriver.java:58)
      at java.sql.DriverManager.getConnection(DriverManager.java:571)
      at java.sql.DriverManager.getConnection(DriverManager.java:187)
      at net.hydromatic.optiq.test.SplunkAdapterTest.checkSql(SplunkAdapterTest.java:205)
      at net.hydromatic.optiq.test.SplunkAdapterTest.testSelect(SplunkAdapterTest.java:169)

      While I concur with the fact that the test shouldn't depend on splunk being present, perhaps we could do with an in-memory jdbc database for such a test.

      ---------------- Imported from GitHub ----------------
      Url: https://github.com/julianhyde/optiq/issues/242
      Created by: karel1980
      Labels: bug,
      Created at: Wed Apr 09 14:10:41 CEST 2014
      State: closed

      Attachments

        Activity

          People

            Unassigned Unassigned
            github-import GitHub Import
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: