Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
403ff669
Unverified
Commit
403ff669
authored
Jan 09, 2026
by
Ryan McCormick
Committed by
GitHub
Jan 09, 2026
Browse files
test: Expand time range for flaky recorder test to improve stability (#5315)
parent
b1fc99ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/llm/src/recorder.rs
lib/llm/src/recorder.rs
+3
-3
No files found.
lib/llm/src/recorder.rs
View file @
403ff669
...
@@ -464,11 +464,11 @@ mod tests {
...
@@ -464,11 +464,11 @@ mod tests {
// Check that both events were recorded
// Check that both events were recorded
assert_eq!
(
recorder
.event_count
()
.await
,
2
);
assert_eq!
(
recorder
.event_count
()
.await
,
2
);
// Check that the elapsed time is between
7
and 1
3
milliseconds
// Check that the elapsed time is between
5
and 1
5
milliseconds
let
elapsed_ms
=
recorder
.elapsed_time
()
.await
.unwrap
()
.as_millis
();
let
elapsed_ms
=
recorder
.elapsed_time
()
.await
.unwrap
()
.as_millis
();
if
!
(
7
..=
1
3
)
.contains
(
&
elapsed_ms
)
{
if
!
(
5
..=
1
5
)
.contains
(
&
elapsed_ms
)
{
println!
(
"Actual elapsed time: {} ms"
,
elapsed_ms
);
println!
(
"Actual elapsed time: {} ms"
,
elapsed_ms
);
assert
!
((
7
..=
1
3
)
.contains
(
&
elapsed_ms
));
assert
!
((
5
..=
1
5
)
.contains
(
&
elapsed_ms
));
}
}
// Force shutdown to flush file
// Force shutdown to flush file
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment