Hi.

I attach an upload proposal for bullseye, in debdiff format against version 1.3.610-4 (stable version), so you can upload it "as is" if everything else is ok.

There is a stable point release around the corner, it would be wonderful if this could be fixed by then.

Thanks.
diff -Nru core-async-clojure-1.3.610/debian/changelog 
core-async-clojure-1.3.610/debian/changelog
--- core-async-clojure-1.3.610/debian/changelog 2020-12-15 21:19:54.000000000 
+0100
+++ core-async-clojure-1.3.610/debian/changelog 2022-12-05 21:36:00.000000000 
+0100
@@ -1,3 +1,10 @@
+core-async-clojure (1.3.610-4+deb11u1) bullseye; urgency=medium
+
+  * Team upload.
+  * Skip test assertions which hang in single-cpu env (Closes: #1013662).
+
+ -- Jérôme Charaoui <jer...@riseup.net>  Mon, 05 Dec 2022 21:36:00 +0100
+
 core-async-clojure (1.3.610-4) unstable; urgency=medium
 
   * Team upload.
diff -Nru 
core-async-clojure-1.3.610/debian/patches/0003-Skip-test-assertions-which-hang-in-single-cpu-env.patch
 
core-async-clojure-1.3.610/debian/patches/0003-Skip-test-assertions-which-hang-in-single-cpu-env.patch
--- 
core-async-clojure-1.3.610/debian/patches/0003-Skip-test-assertions-which-hang-in-single-cpu-env.patch
      1970-01-01 01:00:00.000000000 +0100
+++ 
core-async-clojure-1.3.610/debian/patches/0003-Skip-test-assertions-which-hang-in-single-cpu-env.patch
      2022-12-05 21:35:30.000000000 +0100
@@ -0,0 +1,39 @@
+From: =?utf-8?b?SsOpcsO0bWUgQ2hhcmFvdWk=?= <jer...@riseup.net>
+Date: Tue, 5 Jul 2022 17:56:14 -0400
+Subject: Skip test assertions which hang in single-cpu env
+
+This part hangs indefinitely (possible deadlock) when running on a
+single-cpu system, or as a part of a single-cpu bound cgroup.
+
+Forwarded: no
+---
+ src/test/clojure/clojure/core/async_test.clj | 18 +-----------------
+ 1 file changed, 1 insertion(+), 17 deletions(-)
+
+--- a/src/test/clojure/clojure/core/async_test.clj
++++ b/src/test/clojure/clojure/core/async_test.clj
+@@ -288,23 +288,7 @@
+       (is (= [0 1 2 3]
+              (<!! (a/into [] a))))
+       (is (= [0 1 2 3]
+-             (<!! (a/into [] b)))))
+-
+-    ;; ASYNC-127
+-    (let [ch (to-chan! [1 2 3])
+-          m (mult ch)
+-          t-1 (chan)
+-          t-2 (chan)
+-          t-3 (chan)]
+-      (tap m t-1)
+-      (tap m t-2)
+-      (tap m t-3)
+-      (close! t-3)
+-      (is (= 1 (a/poll! t-1)))
+-      (is (= nil (a/poll! t-1))) ;; t-2 hasn't taken yet
+-      (is (= 1 (a/poll! t-2)))
+-      (is (= 2 (a/poll! t-1))) ;; now available
+-      (is (= nil (a/poll! t-1)))))
++             (<!! (a/into [] b))))))
+ 
+   (testing "mix"
+     (let [out (chan)
diff -Nru core-async-clojure-1.3.610/debian/patches/series 
core-async-clojure-1.3.610/debian/patches/series
--- core-async-clojure-1.3.610/debian/patches/series    2020-12-08 
23:09:49.000000000 +0100
+++ core-async-clojure-1.3.610/debian/patches/series    2022-12-05 
21:35:30.000000000 +0100
@@ -1,2 +1,3 @@
 0001_Lein_Local.patch
 0002_Fix_Test_Timing.patch
+0003-Skip-test-assertions-which-hang-in-single-cpu-env.patch

Reply via email to