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
fix flaky test https://app.trunk.io/metabase/flaky-tests/repo/56d8e0a… (#75253)
Egor Grushin2a053bc7627c
diff --git a/test/metabase/transforms_rest/api/transform_test.clj b/test/metabase/transforms_rest/api/transform_test.cljindex fbe14472438..7eda140b249 100644--- a/test/metabase/transforms_rest/api/transform_test.clj+++ b/test/metabase/transforms_rest/api/transform_test.clj@@ -1808,12 +1808,14 @@seed-runs (fn [data] (filter (comp run-id? :id) data))](testing "desc — longest completed runs first; in-progress (null duration) sinks to the bottom"(let [resp (mt/user-http-request :crowberto :get 200 "transform/run"+ :transform-ids [tid]:sort-column "duration":sort-direction "desc")ids (map :id (seed-runs (:data resp)))](is (= [long-id short-id running-id] ids))))(testing "asc — shortest completed runs first; in-progress run still last"(let [resp (mt/user-http-request :crowberto :get 200 "transform/run"+ :transform-ids [tid]:sort-column "duration":sort-direction "asc")ids (map :id (seed-runs (:data resp)))]