ceph/qa/tasks/mgr
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
..
dashboard mgr/dashboard: backend api tests: tasks.mgr.dashboard.test_osd.OsdTest failures 2018-11-07 17:36:53 +01:00
__init__.py
mgr_test_case.py qa/mgr: avoid enabling always on modules 2018-10-01 14:34:27 -07:00
test_crash.py qa/tasks/mgr: add test_crash, call from test_module_selftest 2018-06-29 14:51:45 -07:00
test_dashboard.py qa: update dashboard tests for https:// 2018-04-27 09:58:47 -04:00
test_failover.py
test_insights.py qa/tasks/mgr: do not enable always-on module 2018-08-21 16:25:05 -07:00
test_module_selftest.py Relocate cluster_log(). Only active modules can use it. 2018-10-05 14:46:58 +02:00
test_progress.py qa: add tests for progress module 2018-09-11 11:21:35 +01:00
test_prometheus.py pybind/mgr/prometheus: add file_sd_config command 2018-04-25 14:24:32 +02:00