PHP 5.4 tests

This commit is contained in:
Chris Boden 2012-07-14 18:52:44 -04:00
parent 5c5091f723
commit 1afd42d987
3 changed files with 5 additions and 6 deletions

View File

@ -6,11 +6,10 @@ cover:
abtests:
ulimit -n 2048 && php tests/AutobahnTestSuite/bin/fuzzingserver-libevent.php &
ulimit -n 2048 && php tests/AutobahnTestSuite/bin/fuzzingserver-stream.php &
ulimit -n 2048 && php54 tests/AutobahnTestSuite/bin/fuzzingserver-stream.php &
wstest -m testeeserver -w ws://localhost:8002 &
wstest -m fuzzingclient -s tests/AutobahnTestSuite/fuzzingclient-all.json
killall php
killall python
killall php php54 python
profile:
php -d 'xdebug.profiler_enable=1' tests/AutobahnTestSuite/bin/fuzzingserver-libevent.php &

View File

@ -17,7 +17,7 @@ Shell access is required and a dedicated machine with root access is recommended
To avoid proxy/firewall blockage it's recommended WebSockets are run on port 80, which requires root access.
Note that you can not run two applications (Apache and Ratchet) on the same port, thus the requirement for a separate machine (for now).
PHP 5.3.3 (or higher) is required. If you have access, PHP5.4 is recommended for its performance improvements.
PHP 5.3.4 (or higher) is required. If you have access, PHP 5.4 is *highly* recommended for its performance improvements.
Cookies from your domain will be passed to the socket server, allowing you to identify users.
Accessing your website's session data in Ratchet requires you to use [Symfony2 Sessions](http://symfony.com/doc/master/components/http_foundation/sessions.html) on your website.

View File

@ -3,8 +3,8 @@
, "outdir": "reports/ab"
, "servers": [
{"agent": "Ratchet-libevent/0.2b", "url": "ws://localhost:8000", "options": {"version": 18}}
, {"agent": "Ratchet-stream/0.2b", "url": "ws://localhost:8001", "options": {"version": 18}}
{"agent": "Ratchet/0.2 PHP 5.3-libevent", "url": "ws://localhost:8000", "options": {"version": 18}}
, {"agent": "Ratchet/0.2 PHP 5.4-streams", "url": "ws://localhost:8001", "options": {"version": 18}}
, {"agent": "AutobahnTestSuite/0.5.2", "url": "ws://localhost:8002", "options": {"version": 18}}
]