-
Notifications
You must be signed in to change notification settings - Fork 66
Not clear how to run self tests #553
Comments
You can clone Roxy, and run |
On master with 8.0.3 running locally I get 4 test failures on a fresh clone, while on dev I also get the test asking me for admin user/password. So I assumed that something needed to be configured.
|
Self-test by default runs against localhost and expects being able to access using admin/admin. You can change local-server by adding a local.properties within deploy/test/data/ml7-properties/ or within the folder matching your server version. Unfortunately the current test code checks user/pass values of the properties, expecting them to match admin/admin. I have addressed that in PR #805.. I agree though, we could spend a few more words on this too in https://github.com/marklogic/roxy/blob/master/CONTRIBUTING.md.. |
The documentation just says you need to run
ml self-test
, but it's not clear how much of roxy needs setting up for this to work. Do I need to runml init
and edit build.properties? Anything else?Additionally, there's an interactive test that asks for username/password and apparently expects these to be bob/smith in order to pass.
The text was updated successfully, but these errors were encountered: