[Git][clojure-team/prismatic-plumbing-clojure][debian/main] 3 commits: Adjust debian/changelog for UNRELEASED 0.6.0-4 development

Rob Browning (@rlb) gitlab at salsa.debian.org
Fri Jan 24 20:24:49 GMT 2025



Rob Browning pushed to branch debian/main at Debian Clojure Maintainers / prismatic-plumbing-clojure


Commits:
09f1113b by Rob Browning at 2025-01-20T13:40:52-06:00
Adjust debian/changelog for UNRELEASED 0.6.0-4 development

- - - - -
9be6ff8d by Rob Browning at 2025-01-20T13:41:24-06:00
Raise error threshold for profiled-test to avoid buildd failures

graph-test/profiled-test failed, and it's plausible that the buildd
load was just preventing the tests from finishing quickly enough.  For
now, triple the allowed drift and move the comparison into the "is" in
order to display the actual drift for failures.

Closes: 1092520

- - - - -
21d58db2 by Rob Browning at 2025-01-20T13:49:04-06:00
Update debian/changelog for 0.6.0-4 release

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/0002-graph-test-profiled-test-raise-error-threshold-from-.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+prismatic-plumbing-clojure (0.6.0-4) unstable; urgency=medium
+
+  * Raise error threshold for profiled-test to avoid buildd failures.
+    graph-test/profiled-test failed, and it's plausible that the buildd
+    load was just preventing the tests from finishing quickly enough.  For
+    now, triple the allowed drift and move the comparison into the "is" in
+    order to display the actual drift for failures. (Closes: 1092520)
+
+ -- Rob Browning <rlb at defaultvalue.org>  Mon, 20 Jan 2025 13:48:12 -0600
+
 prismatic-plumbing-clojure (0.6.0-3) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/patches/0002-graph-test-profiled-test-raise-error-threshold-from-.patch
=====================================
@@ -0,0 +1,38 @@
+From: Rob Browning <rlb at defaultvalue.org>
+Date: Mon, 20 Jan 2025 13:15:58 -0600
+Subject: graph-test/profiled-test: raise error threshold from 10ms to 30ms
+
+This test failed on a Debian buildd, and it's plausible that the load
+on the host was just preventing the nodes from finishing quickly
+enough.  For now, triple the allowed drift and move the comparison
+into the "is" in order to display the actual drift for failures.
+
+Bug-Debian: https://bugs.debian.org/1092520
+---
+ test/plumbing/graph_test.cljc | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/test/plumbing/graph_test.cljc b/test/plumbing/graph_test.cljc
+index c31f114..183f67b 100644
+--- a/test/plumbing/graph_test.cljc
++++ b/test/plumbing/graph_test.cljc
+@@ -368,8 +368,7 @@
+ 
+ #?(:clj
+ (deftest ^:slow profiled-test
+-  (let [approx-= (fn [x y] (< (Math/abs (- x y)) 10))
+-        times {:a 100 :b 200 :c 400}
++  (let [times {:a 100 :b 200 :c 400}
+         raw-g (graph/graph
+                :a (plumbing/fnk [i] (Thread/sleep (times :a)) (inc i))
+                :b (plumbing/fnk [i] (Thread/sleep (times :b)) (- i))
+@@ -379,7 +378,8 @@
+     (is (= (select-keys execed [:a :b :c])
+            {:a 11 :b -10 :c -110}))
+     (doseq [[k t] times]
+-      (is (approx-= t (get @(:profile-stats execed) k)))))))
++      (is (< (Math/abs (- t (get @(:profile-stats execed) k)))
++             30))))))
+ 
+ #?(:cljs
+ (deftest profiled-test


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 0001_Lein_Local.patch
+0002-graph-test-profiled-test-raise-error-threshold-from-.patch



View it on GitLab: https://salsa.debian.org/clojure-team/prismatic-plumbing-clojure/-/compare/5e7ef4c7b5d150aac3ce7a1b167272f5b2c545cd...21d58db2dacf5e9ee5553656cafaa27b1c51479e

-- 
View it on GitLab: https://salsa.debian.org/clojure-team/prismatic-plumbing-clojure/-/compare/5e7ef4c7b5d150aac3ce7a1b167272f5b2c545cd...21d58db2dacf5e9ee5553656cafaa27b1c51479e
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20250124/58ae58b9/attachment.htm>


More information about the pkg-java-commits mailing list