Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Aug 03, 2017
  2. Jul 07, 2017
  3. Jul 06, 2017
    • Ryan Senior's avatar
      Explicitly load driver code and fail tests when driver is present · fd99b1af
      Ryan Senior authored
      Driver loading previously was very dependent on what code clojure
      compiled first. If the Oracle driver was loaded before the plugin
      directory was examined, it would result in the Oracle driver never
      being loaded. This is due to clojure code only being loaded once when
      required and the driver loading code being free floating code that is
      only evaled when the namespace is loaded.
      
      This commit switches that code to be in an -init-driver function that
      is invoked when the driver is required. This ensures that regardless
      of code loading order, the driver will be available if it's present.
      
      This commit also includes code to fail the build if requested to test
      on an engine when that engine's driver is not available. Previously if
      you set ENGINES to "h2,oracle" but had no Oracle driver in the plugins
      directory, the test would succeed, but only test against H2.
      fd99b1af
    • Ryan Senior's avatar
      Unify test application db environment variables [ci drivers] · 72da0717
      Ryan Senior authored
      This unifies the code and the environment variables for specifying
      test database connection parameters across all supported
      databases. Existing databases that supported environment variables for
      tests have been refactored to use the new environment variable
      names. All of the connection environment variables are named similar
      to:
      
      MB_<DBNAME>_TEST_<PARAM>
      
      For user on MySQL, the variable would be named:
      
      MB_MYSQL_TEST_USER
      72da0717
  4. Jul 05, 2017
  5. Jun 30, 2017
  6. Jun 28, 2017
  7. Jun 27, 2017
  8. Jun 22, 2017
  9. Jun 21, 2017
  10. Jun 20, 2017
  11. Jun 12, 2017
  12. Jun 09, 2017
  13. Jun 07, 2017
  14. Jun 06, 2017
  15. Jun 02, 2017
  16. May 31, 2017
  17. May 30, 2017
  18. May 10, 2017
  19. May 09, 2017
  20. May 08, 2017
  21. May 05, 2017
  22. May 04, 2017
  23. May 03, 2017
Loading