From 8604937100cbf9ec5a6d7865880861442bf2187e Mon Sep 17 00:00:00 2001 From: savinayvijay Date: Mon, 8 Jul 2019 16:34:14 +0100 Subject: [PATCH] #710 - Log Reaped Cursor when Idle - Code Improvements --- mtools/mloginfo/sections/cursor_section.py | 1 + mtools/test/test_mloginfo.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/mtools/mloginfo/sections/cursor_section.py b/mtools/mloginfo/sections/cursor_section.py index 2c333c15..1737aecf 100644 --- a/mtools/mloginfo/sections/cursor_section.py +++ b/mtools/mloginfo/sections/cursor_section.py @@ -25,6 +25,7 @@ def op_or_cmd(le): return le.operation if le.operation != 'command' else le.command +# SERVER-28604 - Logging Reaped cursor information when idle class CursorSection(BaseSection): """CursorSection class.""" diff --git a/mtools/test/test_mloginfo.py b/mtools/test/test_mloginfo.py index 541717fe..464e9b99 100644 --- a/mtools/test/test_mloginfo.py +++ b/mtools/test/test_mloginfo.py @@ -306,7 +306,6 @@ def test_cursor_output(self): lines = output.splitlines() assert any(map(lambda line: 'CURSOR' in line, lines)) - def test_restarts_output(self): # different log file self.tool.run('%s --restarts' % self.logfile_path)