Test HOTKEYS STOP command
(self, r)
| 1344 | @pytest.mark.onlynoncluster |
| 1345 | @skip_if_server_version_lt("8.5.240") |
| 1346 | def test_hotkeys_stop(self, r): |
| 1347 | """Test HOTKEYS STOP command""" |
| 1348 | try: |
| 1349 | r.hotkeys_stop() |
| 1350 | except Exception: |
| 1351 | pass |
| 1352 | |
| 1353 | # Start a collection session |
| 1354 | r.hotkeys_start(count=10, metrics=[HotkeysMetricsTypes.CPU]) |
| 1355 | |
| 1356 | # Stop the session |
| 1357 | result = r.hotkeys_stop() |
| 1358 | assert result == b"OK" |
| 1359 | |
| 1360 | @pytest.mark.onlynoncluster |
| 1361 | @skip_if_server_version_lt("8.5.240") |
nothing calls this directly
no test coverage detected