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
eec345aa
Unverified
Commit
eec345aa
authored
Jun 10, 2025
by
jthomson04
Committed by
GitHub
Jun 10, 2025
Browse files
fix: Fix flaky test (#1466)
parent
e8e728be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
lib/llm/src/block_manager/pool.rs
lib/llm/src/block_manager/pool.rs
+2
-0
No files found.
lib/llm/src/block_manager/pool.rs
View file @
eec345aa
...
@@ -953,6 +953,8 @@ mod tests {
...
@@ -953,6 +953,8 @@ mod tests {
4
4
);
);
tokio
::
time
::
sleep
(
std
::
time
::
Duration
::
from_millis
(
100
))
.await
;
// Now, we match only the last 2 blocks
// Now, we match only the last 2 blocks
let
matched_suffix
=
pool
.match_sequence_hashes
(
&
sequence_hashes
[
2
..
])
.await
?
;
let
matched_suffix
=
pool
.match_sequence_hashes
(
&
sequence_hashes
[
2
..
])
.await
?
;
assert_eq!
(
matched_suffix
.len
(),
2
);
assert_eq!
(
matched_suffix
.len
(),
2
);
...
...
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