Control: tags 1001593 + patch
Control: tags 1001593 + pending

Dear maintainer,

I've prepared an NMU for php-easyrdf (versioned as 1.0.0-2.1) and 
uploaded it to DELAYED/2. Please feel free to tell me if I should
cancel it.

cu
Adrian
diff -Nru php-easyrdf-1.0.0/debian/changelog php-easyrdf-1.0.0/debian/changelog
--- php-easyrdf-1.0.0/debian/changelog	2021-02-10 17:03:28.000000000 +0200
+++ php-easyrdf-1.0.0/debian/changelog	2022-01-15 20:45:23.000000000 +0200
@@ -1,3 +1,11 @@
+php-easyrdf (1.0.0-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Apply patch from Christian Ehrhardt to fix flaky autopkgtest.
+    (Closes: #1001593)
+
+ -- Adrian Bunk <b...@debian.org>  Sat, 15 Jan 2022 20:45:23 +0200
+
 php-easyrdf (1.0.0-2) unstable; urgency=medium
 
   * Change gbp to use debian/bullseye for the maintenance branch
diff -Nru php-easyrdf-1.0.0/debian/tests/rapper.sh php-easyrdf-1.0.0/debian/tests/rapper.sh
--- php-easyrdf-1.0.0/debian/tests/rapper.sh	2021-01-19 05:44:42.000000000 +0200
+++ php-easyrdf-1.0.0/debian/tests/rapper.sh	2022-01-15 20:45:08.000000000 +0200
@@ -6,6 +6,15 @@
 php --server localhost:10101 --docroot debian/tests/data &
 SERVER_PID=$!
 
+# the startup can be racy making the test a false-positive
+# wait up to 10 seconds until it is ready
+r=0
+until [ "$r" -ge 100 ]; do
+    nc -z localhost 10101 && echo "PRE: Connection ready" && break
+    sleep 0.1
+    echo "PRE: Retry Connection"
+done
+
 # A graphviz source file can be created.
 php debian/tests/rapper.php > sample.dot
 

Reply via email to