Control: tags 1096225 + patch
Control: tags 1096225 + pending

Dear maintainer,

I've prepared an NMU for ola (versioned as 0.10.9.nojsmin-7.1) and 
uploaded it to DELAYED/7. Please feel free to tell me if I should
cancel it.

cu
Adrian
diffstat for ola-0.10.9.nojsmin ola-0.10.9.nojsmin

 changelog             |    7 +++++++
 patches/series        |    1 +
 patches/timeout.patch |   33 +++++++++++++++++++++++++++++++++
 3 files changed, 41 insertions(+)

diff -Nru ola-0.10.9.nojsmin/debian/changelog ola-0.10.9.nojsmin/debian/changelog
--- ola-0.10.9.nojsmin/debian/changelog	2024-09-01 22:58:12.000000000 +0300
+++ ola-0.10.9.nojsmin/debian/changelog	2025-04-02 18:58:07.000000000 +0300
@@ -1,3 +1,10 @@
+ola (0.10.9.nojsmin-7.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Increase ClientWrapper test timeouts. (Closes: #1096225)
+
+ -- Adrian Bunk <b...@debian.org>  Wed, 02 Apr 2025 18:58:07 +0300
+
 ola (0.10.9.nojsmin-7) unstable; urgency=medium
 
   * debian/ola.install: don't install all .1 manpages, because some of them are
diff -Nru ola-0.10.9.nojsmin/debian/patches/series ola-0.10.9.nojsmin/debian/patches/series
--- ola-0.10.9.nojsmin/debian/patches/series	2024-09-01 22:58:12.000000000 +0300
+++ ola-0.10.9.nojsmin/debian/patches/series	2025-04-02 18:57:23.000000000 +0300
@@ -1 +1,2 @@
 debian-changes
+timeout.patch
diff -Nru ola-0.10.9.nojsmin/debian/patches/timeout.patch ola-0.10.9.nojsmin/debian/patches/timeout.patch
--- ola-0.10.9.nojsmin/debian/patches/timeout.patch	1970-01-01 02:00:00.000000000 +0200
+++ ola-0.10.9.nojsmin/debian/patches/timeout.patch	2025-04-02 18:57:57.000000000 +0300
@@ -0,0 +1,33 @@
+Description: More generous timeouts
+Author: Adrian Bunk <b...@debian.org>
+Bug-Debian: https://bugs.debian.org/1096225
+
+--- ola-0.10.9.nojsmin.orig/python/ola/ClientWrapperTest.py
++++ ola-0.10.9.nojsmin/python/ola/ClientWrapperTest.py
+@@ -192,22 +192,22 @@ class ClientWrapperTest(unittest.TestCas
+     # Called immediately
+     a_diff = results.a_called - self.start
+     self.assertAlmostEqual(a_diff, datetime.timedelta(milliseconds=0),
+-                           delta=datetime.timedelta(microseconds=750))
++                           delta=datetime.timedelta(microseconds=10000))
+ 
+     # Called in 5 milliseconds
+     b_diff = results.b_called - self.start
+     self.assertAlmostEqual(b_diff, datetime.timedelta(milliseconds=5),
+-                           delta=datetime.timedelta(microseconds=750))
++                           delta=datetime.timedelta(microseconds=10000))
+ 
+     # Called in 10 milliseconds
+     c_diff = results.c_called - self.start
+     self.assertAlmostEqual(c_diff, datetime.timedelta(milliseconds=10),
+-                           delta=datetime.timedelta(microseconds=750))
++                           delta=datetime.timedelta(microseconds=10000))
+ 
+     # Called in 15 milliseconds
+     d_diff = results.d_called - self.start
+     self.assertAlmostEqual(d_diff, datetime.timedelta(milliseconds=15),
+-                           delta=datetime.timedelta(microseconds=750))
++                           delta=datetime.timedelta(microseconds=10000))
+ 
+     sockets[0].close()
+     sockets[1].close()

Reply via email to