X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=tests%2Fcancel001.phpt;h=2cc5896996ea34f494b3771db97511f119377c2a;hp=708591f30f01a56475321bab8453e770aa234cf1;hb=6ab3ae07622e825b32ec6c9bf781def373dad616;hpb=b9f66d2b7378c40f85111ef57e9b0922789f77df diff --git a/tests/cancel001.phpt b/tests/cancel001.phpt index 708591f..2cc5896 100644 --- a/tests/cancel001.phpt +++ b/tests/cancel001.phpt @@ -12,7 +12,7 @@ $c = new pq\Connection(PQ_DSN); $x = new pq\Cancel($c); -$c->execAsync("SELECT pg_sleep(2)"); +$c->execAsync("SELECT pg_sleep(10)"); $x->cancel(); @@ -64,7 +64,7 @@ object(pq\Result)#%d (9) { ["source_file"]=> string(10) "postgres.c" ["source_line"]=> - string(4) "2988" + string(4) "%d" ["source_function"]=> string(17) "ProcessInterrupts" }