Red Hat Bugzilla – Bug 859206
RHC Feature tests need to create a user when running under origin
Last modified: 2015-05-14 22:05:02 EDT
Description of problem:
RHC Feature tests fail under Origin due to needing the tests to register a user before running. What needs to be added -
* RHC_REGISTER_USER env var needs to be checked by the runner in rhc/features/support/env.rb
* init stage needs to create a user on server based on $username, $password
* li/build/origin script needs to be updated to pass RHC_REGISTER_USER to the tests
I added flags for the rhc cucumber tests as well as to the origin test scripts. I do not know how I can test this, so I am marking it as MODIFIED and pinging agupta to try the changes (he was the original reporter of the problem).
Associated branches are here:
NOTE: The li branch was based off the code before clayton's refactor. Since the master branch is being frozen, the code will have to be merged in another pull request against the new master. I did it this way so it can be tested before that refactor goes live. This code should not have any problems since it is isolated.
still waiting for origin build to work in Fedora16. Will test this once that is ready.
Origin should run in a no-security mode in the test environment, rendering this bug unnecessary. We'll track this by ensuring the tests are run in Origin outside of bugzilla.