Test HOTKEYS START with duration parameter
(self, r)
| 1284 | @pytest.mark.onlynoncluster |
| 1285 | @skip_if_server_version_lt("8.5.240") |
| 1286 | def test_hotkeys_start_with_duration(self, r): |
| 1287 | """Test HOTKEYS START with duration parameter""" |
| 1288 | try: |
| 1289 | r.hotkeys_stop() |
| 1290 | except Exception: |
| 1291 | pass |
| 1292 | |
| 1293 | result = r.hotkeys_start( |
| 1294 | count=10, metrics=[HotkeysMetricsTypes.CPU], duration=60 |
| 1295 | ) |
| 1296 | assert result == b"OK" |
| 1297 | |
| 1298 | @pytest.mark.onlynoncluster |
| 1299 | @skip_if_server_version_lt("8.5.240") |
nothing calls this directly
no test coverage detected