-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[minor] Add Sanity tests for Manage #211
Conversation
MAXMF-551- Add Sanity Validation
moved tests to sanity test
Added 3 modules in requirements.txt. Rest of them are part of python module
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made changes to allow the requirements.txt to be installed by adding a virtualenv.
The tests now run but fail with
E File "/tmp/tests/tests.py", line 206
E MAS_URL=https://{masUrl.spec.host}{masUrl.spec.path}
E ^
E SyntaxError: invalid syntax
Fix variable assignment and usage
fix minor error
removed fixture marker
Fixes
minor fix
fix
fix
fix
fix
fix variables
fix error
Add logger info
fix errors
grant permission
fix error
removed unused resource call
fix secret
fix errors
fix secret
fix error
fix secret
access
fix
access
fix
add cluster role
debug
debug
debug
debug
debug
access
refactor
redesigned tests
refactor
refactor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests here currently create a user in MAS and sync it to Manage. This is a good start but we need to do more tests on Manage itself to ensure that basic functionality of Manage works. We can add a comment to say that demodata is needed and then we can run various API tests on some core Manage function to make sure it is working.
instance-applications/510-550-ibm-mas-suite-app-config/templates/04-postsync-manage-sanity.yaml
Outdated
Show resolved
Hide resolved
- secrets | ||
- routes | ||
- suites |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment as above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rectified
# MVI Verification tests need to be able to get/list nodes | ||
# to check for ready GPU nodes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment needs updating
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rectified
instance-applications/510-550-ibm-mas-suite-app-config/templates/04-postsync-manage-sanity.yaml
Outdated
Show resolved
Hide resolved
instance-applications/510-550-ibm-mas-suite-app-config/templates/04-postsync-manage-sanity.yaml
Outdated
Show resolved
Hide resolved
updated as per feedback
Fix deleteuser and try decoded certs
try with disable warnings
added requirement
manage url for cluster
Added Manage tests for apikey and asset object
set cluster url
MAXMF-551- Add Sanity Validation.
v1_secrets
v1_routes
manage_route
manage_host
getManageComponents
getClusterInfo
test_create_super_user_token
test_v3_create_user
test_v3_user_link_to_idp
test_v3_user_add_user_to_workspace
test_v3_user_application_permission
test_check_user_sync
test_generate_api_key_for_new_added_user
test_get_api_key_for_admin
test_add_new_user_to_admin_group
test_asset_crud_operation_using_new_added_user