Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Latest commit

 

History

History

testscenario

Setting up

rabbitmqctl add_user gdr test
rabbitmqctl add_vhost wutka
rabbitmqctl set_permissions -p wutka gdr ".*" ".*" ".*"

Running

cd testscenario
celery worker -l DEBUG -c 20

# In another terminal
cd testscenario
celery worker -l DEBUG -c 20 --config=celeryredisconfig

# In another terminal
phpunit

Testing Redis authentication

echo requirepass test >>/etc/redis/redis.conf
service redis-server restart

cd testscenario
celery worker -l DEBUG -c 20 --config=celeryredisauthconfig

# In another terminal
phpunit CeleryRedisAuthTest unittest/CeleryRedisAuthTest.php