FWIW, adding a sleep just after the reload seems to have made the test
pass locally (and it wasn't passing before):

diff --git a/debian/tests/smoke b/debian/tests/smoke
index 9f6f818..61444c8 100644
--- a/debian/tests/smoke
+++ b/debian/tests/smoke
@@ -52,6 +52,7 @@ a2enmod python
 
 echo "INFO: reloading apache2 service"
 service apache2 reload
+sleep 5s
 
 test_WHEN_mod_python_handler_is_called_SHOULD_return_output()
 {


** Changed in: libapache2-mod-python (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2156575

Title:
  autopkgtest are failing in stonking

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libapache2-mod-python/+bug/2156575/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to