diff --git a/tests/python/pants_test/pantsd/test_pantsd_integration.py b/tests/python/pants_test/pantsd/test_pantsd_integration.py index b08f163c016..fdd06bda6ce 100644 --- a/tests/python/pants_test/pantsd/test_pantsd_integration.py +++ b/tests/python/pants_test/pantsd/test_pantsd_integration.py @@ -9,6 +9,7 @@ import os import re import signal +import sys import threading import time import unittest @@ -400,6 +401,9 @@ def test_pantsd_pid_change(self): # Remove the pidfile so that the teardown script doesn't try to kill process 9. os.unlink(pidpath) + @unittest.skipIf(sys.version_info[0] == 2, + reason='Increases by ~0.52 under python 2 as described in ' + 'https://github.com/pantsbuild/pants/issues/7761.') def test_pantsd_memory_usage(self): """Validates that after N runs, memory usage has increased by no more than X percent.""" number_of_runs = 10