123456789101112131415161718192021222324 |
- --TEST--
- gearman_worker_wait()
- --SKIPIF--
- <?php if (!extension_loaded("gearman")) print "skip";
- require_once('skipifconnect.inc');
- ?>
- --FILE--
- <?php
- $host = 'localhost';
- $port = 4730;
- $worker = new GearmanWorker();
- $worker->addServer($host, $port);
- $worker->setTimeout(1);
- /*
- Still need to figure out how to test wait here...
- $worker->wait();
- */
- print "OK";
- ?>
- --EXPECT--
- OK
|