-
Notifications
You must be signed in to change notification settings - Fork 8
0.7 Post Deployment Tests
Prerequisite: To perform the following operations you need to log in to the platform as admin user.
-
Choose >Operations from the main menu. Then select >Platform Tests from the sub menu.
-
Select tab: Run test suite. Fill in fields: Username, Password (it should be admin credentials). Then click on button: Run test suite.
-
Select tab: Test suites list. You will be able to see list of test suites with your tests run. Click on See results>> to see details of your run.
-
Details of tests run:
List of tests with name pattern: test_functional.py::test_name will be displayed. You can click on sign ">" to check the details of failure test. Page is not refreshing automatically, so click on button Refresh to get the latest results.
-
Test user:
The test in this suite which tests the platforms ability to delete a user, can fail if you do not have at least one user in your organization with an Org Manager role. By default, an admin user is not considered an Org Manager. If there are no Org Manager users in your organization at the time of this test, you can add our test user: [email protected] using a dedicated script. This user will have all needed roles which will allow the test to pass.
- Clone repository: https://github.com/trustedanalytics/platform-tests
- Install cf client:
wget https://cli.run.pivotal.io/stable?release=debian64 -O cf-client.deb
sudo dpkg -i cf-client.deb
- Install uaac:
sudo apt-get install rubygems-integration
sudo gem install cf-uaac
- Run script:
cd deploy
./add-test-admin.sh <domain> <cf admin password> <reference org name> <reference space name> <password>
where:- domain, e.g. gotapaas.eu
- cf admin password -- cf password of user admin
- reference org name (defaults to trustedanalytics)
- reference space name (defaults to platform)
- password
For more information, please visit: https://github.com/trustedanalytics/platform-tests