X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Ftests%2Fdebpolicy-dbretry;h=a9f2334121c841ca43351eeb111d2c6fec76335f;hb=81b54cfc353832f717ad514b7c6a14e55a380b7d;hp=d9c2ea29c1455c4326c70943bb159404e8d17596;hpb=b02532fd7d3c82864c76eecbfd99a1abc7e2c1b2;p=dgit.git diff --git a/tests/tests/debpolicy-dbretry b/tests/tests/debpolicy-dbretry index d9c2ea29..a9f23341 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/test-dummy/$v"` +autotaint=`t-git-get-ref "refs/tags/$tagpfx/$v"` git reset --hard start t-commit 'Thing which will autotaint' @@ -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 @@ -64,4 +64,4 @@ ls $tmp/sqlite3.rolled-back t-policy-admin list-taints | tee $tmp/taints-list | grep $autotaint -echo ok. +t-ok