Skip to content

Commit c2a9233

Browse files
committed
fix: skip miri tests for zstd due to ffi
1 parent bdf66cd commit c2a9233

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

datadog-profiling/src/internal/observation/observations.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ impl IntoIterator for Observations {
189189
}
190190
}
191191

192-
#[cfg(test)]
192+
#[cfg(all(test, not(miri)))]
193193
mod tests {
194194
use super::*;
195195
use crate::collections::identifiable::*;

datadog-profiling/src/internal/profile/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,7 @@ mod api_tests {
917917
use datadog_profiling_protobuf::prost_impls;
918918

919919
#[test]
920+
#[cfg_attr(miri, ignore)]
920921
fn interning() {
921922
let sample_types = [api::ValueType::new("samples", "count")];
922923
let mut profiles = Profile::new(&sample_types, None);
@@ -1191,6 +1192,7 @@ mod api_tests {
11911192
}
11921193

11931194
#[test]
1195+
#[cfg_attr(miri, ignore)]
11941196
fn reset_period() {
11951197
/* The previous test (reset) checked quite a few properties already, so
11961198
* this one will focus only on the period.

0 commit comments

Comments
 (0)