X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=tests%2Fnotify001.phpt;h=c0b26350aea690ff035584aa16c585ce1f122b22;hp=e255353e27ed8ed2e2e29ee725f9ca3ddf1cdd58;hb=4822c94ec2704ec8cdf95105485554cca05b2df3;hpb=80ad126795d3f1f420adc506fb5649264f765b1b diff --git a/tests/notify001.phpt b/tests/notify001.phpt index e255353..c0b2635 100644 --- a/tests/notify001.phpt +++ b/tests/notify001.phpt @@ -22,19 +22,19 @@ $producer->notify("test", "this is an async test"); $r = array($consumer->socket); $w = null; $e = null; -var_dump(stream_select($r, $w, $e, NULL)); +stream_select($r, $w, $e, NULL); $consumer->poll(); $producer->notify("other", "this should not show up"); -var_dump(stream_select($r, $w, $e, 0)); +stream_select($r, $w, $e, 0,1000); $consumer->poll(); $producer->notify("test", "just to be sure"); $r = array($consumer->socket); $w = null; $e = null; -var_dump(stream_select($r, $w, $e, 0)); +stream_select($r, $w, $e, 0,1000); $consumer->poll(); $consumer->unlisten("test"); @@ -43,7 +43,7 @@ $producer->notify("test", "this shouldn't show up either"); $r = array($consumer->socket); $w = null; $e = null; -var_dump(stream_select($r, $w, $e, 0)); +stream_select($r, $w, $e, 0,1000); $consumer->poll(); ?> @@ -51,10 +51,6 @@ DONE --EXPECTF-- Test test(%d): this is a test -int(1) test(%d): this is an async test -int(0) -int(1) test(%d): just to be sure -int(0) DONE