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
Increase e2e restore endpoint timeout (#82564)
Sébastien4a48ea5b8622
diff --git a/e2e/support/helpers/e2e-setup-helpers.js b/e2e/support/helpers/e2e-setup-helpers.jsindex d0efe04c227..9b636122533 100644--- a/e2e/support/helpers/e2e-setup-helpers.js+++ b/e2e/support/helpers/e2e-setup-helpers.js@@ -34,5 +34,12 @@ export function restore(name = "default") {failOnStatusCode: false,});- return cy.request("POST", `/api/testing/restore/${name}`);+ return cy.request({+ method: "POST",+ url: `/api/testing/restore/${name}`,+ // the restore endpoint takes an app DB write lock, drops and reloads+ // everything, then re-syncs search; under CI load it can exceed the+ // default 30s responseTimeout (EMB-2363)+ timeout: 60_000,+ });}