ReleaseEngineering/Unit Tests For Bug 793989
From MozillaWiki
These are the temporary manual unit tests to test the patch being made for bug 793989.
Run a test POST request with the following simple script http://zeller.pastebin.mozilla.org/4341766
- selfserve.new_build_for_builder requests an entry that is complete and accurate
- Check the terminal that buildapi is running in and make sure that no errors threw
- selfserve-agent.do_new_build_for_builder is called and see's all info from selfserve.new_build_for_builder's mq entry
- Check the terminal that selfserve-agent is running in and make sure no errors threw
- selfserve-agent.do_new_build_for_builder enters info into database correctly
- Buildbot should already be running locally
- Visit http://localhost:8501/builders/WINNT%205.2%20mozilla-central%20build to look for pending builds for this test. Build should show up at the bottom of the list and the time shown should be accurate to when you made the POST request