X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fasync003.phpt;h=9eb44df170a6bf5454351ad8725bb8796218e54a;hb=1e2615005272bb2347820bccb38c94b9caccafb8;hp=20b08b907b7f91582565fe2ac6c3e8acf16e9459;hpb=1d3a582aeca2b93c221f4fbcf9ae42e5201f1639;p=m6w6%2Fext-pq diff --git a/tests/async003.phpt b/tests/async003.phpt index 20b08b9..9eb44df 100644 --- a/tests/async003.phpt +++ b/tests/async003.phpt @@ -16,7 +16,7 @@ do { while ($c->busy) { $r = array($c->socket); $w = $e = null; - if (stream_select($r, $w, $e, null)) { + if (stream_select($r, $w, $e, 1, 1000)) { $c->poll(); } } @@ -26,7 +26,7 @@ do { DONE --EXPECTF-- Test -object(pq\Result)#%d (7) { +object(pq\Result)#%d (8) { ["status"]=> int(2) ["statusMessage"]=> @@ -38,11 +38,13 @@ object(pq\Result)#%d (7) { ["numCols"]=> int(1) ["affectedRows"]=> - int(1) + int(%d) ["fetchType"]=> int(0) + ["autoConvert"]=> + int(65535) } -object(pq\Result)#%d (7) { +object(pq\Result)#%d (8) { ["status"]=> int(2) ["statusMessage"]=> @@ -54,8 +56,10 @@ object(pq\Result)#%d (7) { ["numCols"]=> int(3) ["affectedRows"]=> - int(1) + int(%d) ["fetchType"]=> int(0) + ["autoConvert"]=> + int(65535) } DONE