diff --git a/monkey/tests/unit_tests/infection_monkey/utils/test_decorators.py b/monkey/tests/unit_tests/infection_monkey/utils/test_decorators.py index 30af5837a..5fe9a3881 100644 --- a/monkey/tests/unit_tests/infection_monkey/utils/test_decorators.py +++ b/monkey/tests/unit_tests/infection_monkey/utils/test_decorators.py @@ -58,7 +58,7 @@ def mock_timer(monkeypatch): def test_request_cache(mock_timer): - mock_request = MagicMock(side_effect=lambda: time.time()) + mock_request = MagicMock(side_effect=lambda: time.perf_counter_ns()) @request_cache(10) def make_request():