CC-5651: Unit Test the Scheduler

Some fine tuning
This commit is contained in:
drigato 2014-01-31 15:22:19 -05:00
parent b7c79df6ec
commit f71909d255
4 changed files with 4 additions and 10 deletions

View file

@ -34,9 +34,3 @@ with a version that's incompatible and gives an error for us.
IMPORTANT: Make sure you use "sudo" with the "-E" flag so it preserves the environment variable we set before that. IMPORTANT: Make sure you use "sudo" with the "-E" flag so it preserves the environment variable we set before that.
FAQ
====
- If you get errors about an AMPQ fwrite failing, it means your RabbitMQ credentials are wrong in airtime.conf.
(That's the airtime.conf in this directory.)

View file

@ -1,2 +0,0 @@
TODO:
- Set up a RabbitMQ airtime_test user that is hardcoded

View file

@ -9,7 +9,7 @@ host = 127.0.0.1
port = 5672 port = 5672
user = airtime_tests user = airtime_tests
password = airtime_tests password = airtime_tests
vhost = /airtime vhost = /airtime_tests
[general] [general]
api_key = H2NRICX6CM8F50CU123C api_key = H2NRICX6CM8F50CU123C

View file

@ -1,8 +1,10 @@
#!/bin/bash #!/bin/bash
#Create a RabbitMQ airtime_tests user
rabbitmqctl start_app rabbitmqctl start_app
RABBITMQ_VHOST="/airtime" RABBITMQ_VHOST="/airtime_tests"
RABBITMQ_USER="airtime_tests" RABBITMQ_USER="airtime_tests"
RABBITMQ_PASSWORD="airtime_tests" RABBITMQ_PASSWORD="airtime_tests"
EXCHANGES="airtime-pypo|pypo-fetch|airtime-media-monitor|media-monitor" EXCHANGES="airtime-pypo|pypo-fetch|airtime-media-monitor|media-monitor"