chiark / gitweb /
Increase sqlite_busy_timeout in debpolicy-dbretry
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 7 Nov 2015 15:49:05 +0000 (15:49 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 1 Jul 2016 22:53:42 +0000 (23:53 +0100)
zealot is very slow and we need to give the other processes time to
rollback and release the lock.

debian/changelog
tests/tests/debpolicy-dbretry

index 1b747fe107bb00505455c3f9f2efbd92f544fd89..93ce3d4d4f369de6e11a875303fd166a2982c030 100644 (file)
@@ -28,6 +28,9 @@ dgit (1.5~~) unstable; urgency=medium
     explicitly in drs-push-rejects test.  This avoids date dependencies
     which can cause that test to fail on fast computers.
   * Remove some spurios .debs from the example_1.0.tar.
+  * Increase sqlite_busy_timeout in debpolicy-dbretry, because
+    zealot is very slow and we need to give the other processes time
+    to rollback and release the lock.
 
  --
 
index d9c2ea29c1455c4326c70943bb159404e8d17596..412269132ce1ab429b90db6e9be311dfd9f40600 100755 (executable)
@@ -46,7 +46,7 @@ while ! grep $taint $taintsout; do sleep 0.1; done
 
 DGIT_RPD_TEST_DBLOOP_HOOK='
        print STDERR "DBLOOP HOOK $sleepy\n";
-       $poldbh->sqlite_busy_timeout(500);
+       $poldbh->sqlite_busy_timeout(2500);
        if ($sleepy > 2) {
                system '\''
                        set -ex