Actions
Cleanup #45822
closedFeature #40907: mgr/dashboard: REST API improvements
mgr/dashboard: minimize Back-end API Test console output/log traces
Status:
Resolved
Priority:
Normal
Assignee:
Category:
General - Back-end
Target version:
% Done:
0%
Tags:
Backport:
nautilus, octopus
Reviewed:
Affected Versions:
Pull request ID:
Description
Now the dashboard API tests generate a lot of log traces. Ideally it should behave as a regular test-runner (e.g.: unit-test/pytest), that is, extremely silent when everything goes ok, and becoming more verbose if a failure happens (e.g.: printing traceback of the error and some logs).
Back-end API tests are run from the file src/pybind/mgr/dashboard/backend-api-tests.sh
. In Ceph Jenkins the job responsible for running it can be found at: https://github.com/ceph/ceph-build/blob/master/ceph-dashboard-pr-backend/config/definitions/ceph-dashboard-pr-backend.yml
Actions