PHP 5.4 tests
This commit is contained in:
parent
5c5091f723
commit
1afd42d987
5
Makefile
5
Makefile
@ -6,11 +6,10 @@ cover:
|
|||||||
|
|
||||||
abtests:
|
abtests:
|
||||||
ulimit -n 2048 && php tests/AutobahnTestSuite/bin/fuzzingserver-libevent.php &
|
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 testeeserver -w ws://localhost:8002 &
|
||||||
wstest -m fuzzingclient -s tests/AutobahnTestSuite/fuzzingclient-all.json
|
wstest -m fuzzingclient -s tests/AutobahnTestSuite/fuzzingclient-all.json
|
||||||
killall php
|
killall php php54 python
|
||||||
killall python
|
|
||||||
|
|
||||||
profile:
|
profile:
|
||||||
php -d 'xdebug.profiler_enable=1' tests/AutobahnTestSuite/bin/fuzzingserver-libevent.php &
|
php -d 'xdebug.profiler_enable=1' tests/AutobahnTestSuite/bin/fuzzingserver-libevent.php &
|
||||||
|
@ -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.
|
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).
|
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.
|
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.
|
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.
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
, "outdir": "reports/ab"
|
, "outdir": "reports/ab"
|
||||||
|
|
||||||
, "servers": [
|
, "servers": [
|
||||||
{"agent": "Ratchet-libevent/0.2b", "url": "ws://localhost:8000", "options": {"version": 18}}
|
{"agent": "Ratchet/0.2 PHP 5.3-libevent", "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.4-streams", "url": "ws://localhost:8001", "options": {"version": 18}}
|
||||||
, {"agent": "AutobahnTestSuite/0.5.2", "url": "ws://localhost:8002", "options": {"version": 18}}
|
, {"agent": "AutobahnTestSuite/0.5.2", "url": "ws://localhost:8002", "options": {"version": 18}}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user