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
05913af5
Unverified
Commit
05913af5
authored
Aug 22, 2025
by
Ryan McCormick
Committed by
GitHub
Aug 22, 2025
Browse files
fix: Skip checksum tests in release mode since they're not computed (#2669)
parent
92151e3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
lib/runtime/src/pipeline/network/codec/two_part.rs
lib/runtime/src/pipeline/network/codec/two_part.rs
+4
-0
No files found.
lib/runtime/src/pipeline/network/codec/two_part.rs
View file @
05913af5
...
...
@@ -455,6 +455,8 @@ mod tests {
/// Test decoding of a message with checksum mismatch.
#[test]
// Checksum only computed in debug mode, so only test in debug mode.
#[cfg(debug_assertions)]
fn
test_checksum_mismatch
()
{
// Create a message
let
header_data
=
Bytes
::
from
(
"header data"
);
...
...
@@ -646,6 +648,8 @@ mod tests {
/// Test handling of corrupted data in a stream
#[tokio::test]
// Checksum only computed in debug mode, so only test in debug mode.
#[cfg(debug_assertions)]
async
fn
test_streaming_corrupted_data
()
{
// Create messages
let
header_data
=
Bytes
::
from
(
"header data"
);
...
...
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