diff options
author | Simon Glass <sjg@chromium.org> | 2025-02-04 16:33:53 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-02-21 14:11:05 -0600 |
commit | 7520827be3dbde7fb7324d63d263d650d427c035 (patch) | |
tree | e20decb2d98e5ed3e64e578ae2ab560e77d840f9 | |
parent | c8750efe02c20725388dd4279896aaf306acfad4 (diff) |
buildman: Update tests for newer filelock module
Recent versions of this module call time.perf_counter() so add a patch
for this also.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | tools/buildman/test.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/buildman/test.py b/tools/buildman/test.py index 385a34e5254..c5feb74a105 100644 --- a/tools/buildman/test.py +++ b/tools/buildman/test.py @@ -836,6 +836,7 @@ class TestBuild(unittest.TestCase): tmpdir = self.base_dir with (patch('time.time', side_effect=self.get_time), + patch('time.perf_counter', side_effect=self.get_time), patch('time.monotonic', side_effect=self.get_time), patch('time.sleep', side_effect=self.inc_time), patch('os.kill', side_effect=self.kill)): |