X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Ftests%2Fdebpolicy-dbretry;h=b2d80931824bc55c9afc2a1bdbc0408b74ac6c54;hb=816ed64edd5f42c114bda166878008e6a3877215;hp=d45718ac7613bfffb7f19f44f8bbd92241338f7c;hpb=3462c484ba2b30a902f87578268b56df1633b5c5;p=dgit.git diff --git a/tests/tests/debpolicy-dbretry b/tests/tests/debpolicy-dbretry index d45718ac..b2d80931 100755 --- a/tests/tests/debpolicy-dbretry +++ b/tests/tests/debpolicy-dbretry @@ -22,7 +22,7 @@ t-commit 'Make something to autotaint' t-dgit build t-dgit push --new -autotaint=`t-git-get-ref "refs/tags/debian/$v"` +autotaint=`t-git-get-ref "refs/tags/$tagpfx/$v"` git reset --hard start t-commit 'Thing which will autotaint' @@ -40,13 +40,13 @@ echo >&3 ".output $taintsout" echo >&3 'select * from taints;'; echo >&3 'create table dummy (x text);' -while ! grep $taint $taintsout; do sleep 0.1; done - t-dgit build +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