test(logging): pin the failure-scrub test timestamps

This commit is contained in:
yucheng 2026-10-29 16:37:52 -07:00
parent 415b4896d9
commit c7152b99a6
2 changed files with 3 additions and 3 deletions

View file

@ -311,8 +311,8 @@ def test_mlflow_failure_event_records_the_error_text_the_payload_logged(scrubbed
},
},
response_obj=None,
start_time=datetime.now(),
end_time=datetime.now(),
start_time=datetime(2025, 1, 1),
end_time=datetime(2025, 1, 1),
)
event = span.add_event.call_args.args[0]

View file

@ -11675,7 +11675,7 @@ def _prompt_failure_logging_obj(litellm_params: Mapping[str, object] | None = No
messages=[{"role": "user", "content": SCRUB_PROMPT}],
stream=False,
call_type="completion",
start_time=time.time(),
start_time=datetime.datetime(2025, 1, 1),
litellm_call_id="failure-scrub",
function_id="failure-scrub",
)