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
Extend db connection timeout in tests (#64886)
dpsutton78308b14f9da
diff --git a/e2e/test/scenarios/onboarding/home/browse.cy.spec.ts b/e2e/test/scenarios/onboarding/home/browse.cy.spec.tsindex 08e9198942d..cb040449dd8 100644--- a/e2e/test/scenarios/onboarding/home/browse.cy.spec.ts+++ b/e2e/test/scenarios/onboarding/home/browse.cy.spec.ts@@ -326,6 +326,9 @@ H.describeWithSnowplowEE("scenarios > browse (EE)", () => {cy.log("Visit Model 1");cy.findByRole("heading", { name: "Model 1" }).click();+ cy.log("make sure data is loaded");+ H.tableInteractive().findByText("Rustic Paper Wallet").should("be.visible");+browseModels();cy.log("The filter toggle is not visible");diff --git a/src/metabase/driver/settings.clj b/src/metabase/driver/settings.cljindex 71d6f430981..4be8b3d3cc7 100644--- a/src/metabase/driver/settings.clj+++ b/src/metabase/driver/settings.clj@@ -72,12 +72,12 @@:visibility :internal:export? false:type :integer- ;; for TESTS use a timeout time of 3 seconds. This is because we have some tests that check whether+ ;; for TESTS use a timeout time of 5 seconds. This is because we have some tests that check whether;; [[driver/can-connect?]] is failing when it should, and we don't want them waiting 10 seconds to fail.;;;; Don't set the timeout too low -- I've had Circle fail when the timeout was 1000ms on *one* occasion.:default (if config/is-test?- 3000+ 500010000):doc "Timeout in milliseconds for connecting to databases, both Metabase application database and data connections.In case you're connecting via an SSH tunnel and run into a timeout, you might consider increasing this value as the