X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fcancel001.phpt;h=a5bf4f35efd279c4eaf487d5f9552ee555322616;hb=354b98e348b5c972c0dceef5d136316bd3f07d94;hp=8ca8793e8043184485ade748d0fa3d2baf6ae995;hpb=e4075e6d5c7497fd44463f2fe985dee7a54c1bee;p=m6w6%2Fext-pq diff --git a/tests/cancel001.phpt b/tests/cancel001.phpt index 8ca8793..a5bf4f3 100644 --- a/tests/cancel001.phpt +++ b/tests/cancel001.phpt @@ -9,10 +9,11 @@ echo "Test\n"; include "_setup.inc"; $c = new pq\Connection(PQ_DSN); +$c->exec("SET lc_messages TO 'C'"); $x = new pq\Cancel($c); -$c->execAsync("SELECT pg_sleep(2)"); +$c->execAsync("SELECT pg_sleep(10)"); $x->cancel();