From: Steven Luong Date: Tue, 18 Jun 2019 16:56:07 +0000 (-0700) Subject: tests: fix checkstyle failure in test_stats_client.py X-Git-Tag: v20.01-rc0~380 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F17%2F20217%2F3;p=vpp.git tests: fix checkstyle failure in test_stats_client.py New job submitted to Jenkins reported checkstyle failure in test_stats_client.py. It needs a blank line in one place and line is too long in another place. Type: fix Change-Id: I9b18df1df449a287570d614d6c5b514ceb88480c Signed-off-by: Steven Luong --- diff --git a/test/test_stats_client.py b/test/test_stats_client.py index 672a77a0e0a..dcbf0fedbc0 100644 --- a/test/test_stats_client.py +++ b/test/test_stats_client.py @@ -42,6 +42,7 @@ class StatsClientTestCase(VppTestCase): "is not equal to " "ending client side file descriptor count: %s" % ( initial_fds, ending_fds)) + @unittest.skip("Manual only") def test_mem_leak(self): def loop(): @@ -58,7 +59,9 @@ class StatsClientTestCase(VppTestCase): for j in range(100): loop() print(self.vapi.cli("show memory stats-segment verbose")) - print('AFTER', before, self.statistics.get_counter('/mem/statseg/used')) + print('AFTER', before, + self.statistics.get_counter('/mem/statseg/used')) + if __name__ == '__main__': unittest.main(testRunner=VppTestRunner)