The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Load plugin manifest in e2e run mode (#65729)
Nemanja Glumacb677b62cddb5
diff --git a/src/metabase/plugins/impl.clj b/src/metabase/plugins/impl.cljindex b06cd5cebd6..9806764f521 100644--- a/src/metabase/plugins/impl.clj+++ b/src/metabase/plugins/impl.clj@@ -115,7 +115,7 @@"spark-deps.jar is no longer needed by Metabase 0.32.0+. You can delete it from the plugins directory.")))]path))-(when (or config/is-dev? config/is-test?)+(when (not config/is-prod?)(defn- load-local-plugin-manifest! [^Path path](some-> (slurp (str path)) yaml/parse-string plugins.init/init-plugin-with-info!))@@ -141,7 +141,7 @@(map u.files/get-path (str/split additional-paths #",")))))(defn- load-local-plugin-manifests!- "Load local plugin manifest files when running in dev or test mode, to simulate what would happen when loading those+ "Load local plugin manifest files when not running in a production mode, to simulate what would happen when loading thosesame plugins from the uberjar. This is needed because some plugin manifests define driver methods and the like thataren't defined elsewhere."[]@@ -170,7 +170,7 @@(extract-system-modules!)(let [paths (plugins-paths)](init-plugins! paths))- (when (or config/is-dev? config/is-test?)+ (when (not config/is-prod?)(load-local-plugin-manifests!)))(defonce ^:private loaded? (atom false))