ceph/qa/tasks/mgr/dashboard
Volker Theile e6f130d470 mgr/dashboard: backend api tests: tasks.mgr.dashboard.test_osd.OsdTest failures
- Fix bug in Dashboard QA unit test framework. Don't set the application type header manually, this is done by the requests library if required.
- Enhance QA unit test helper: Print the response of the API request if it fails. This should help to identify the problem more easily.
- Fix bug in the OSD controller. A parameter needs to be converted to integer.
- Take care that the params of the request object are not modified.

The issue was introduced by PR https://github.com/ceph/ceph/pull/24475. The CherryPy json_in plugin disclosed the errorneous unit test helper implementation.

Fixes: https://tracker.ceph.com/issues/36708

Signed-off-by: Volker Theile <vtheile@suse.com>
2018-11-07 17:36:53 +01:00
..
__init__.py
helper.py mgr/dashboard: backend api tests: tasks.mgr.dashboard.test_osd.OsdTest failures 2018-11-07 17:36:53 +01:00
test_auth.py mgr/dashboard: backend: JWT based authentication 2018-10-29 15:47:14 +00:00
test_cephfs.py
test_cluster_configuration.py mgr/dashboard: add backend method to create config options 2018-10-09 14:50:00 +02:00
test_dashboard.py mgr/dashboard: New Landing Page 2018-09-19 08:54:41 +02:00
test_erasure_code_profile.py
test_host.py
test_monitor.py
test_osd.py mgr/dashboard: Cleanup 2018-09-12 10:16:54 +02:00
test_perf_counters.py mgr/dashboard: Fix Python3 issue 2018-10-17 14:02:12 +02:00
test_pool.py mgr/dashboard: Update PG update test 2018-10-09 15:56:54 +02:00
test_rbd.py mgr/dashboard: Add RBD Trash endpoints 2018-09-25 14:02:58 +01:00
test_requests.py mgr/dashboard: Enable gzip compression 2018-10-24 16:04:37 -06:00
test_rgw.py
test_role.py mgr/dashboard: backend: JWT based authentication 2018-10-29 15:47:14 +00:00
test_settings.py
test_summary.py
test_user.py mgr/dashboard: backend: JWT based authentication 2018-10-29 15:47:14 +00:00