File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
datadog-profiling/src/internal Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ impl IntoIterator for Observations {
189
189
}
190
190
}
191
191
192
- #[ cfg( test) ]
192
+ #[ cfg( all ( test, not ( miri ) ) ) ]
193
193
mod tests {
194
194
use super :: * ;
195
195
use crate :: collections:: identifiable:: * ;
Original file line number Diff line number Diff line change @@ -917,6 +917,7 @@ mod api_tests {
917
917
use datadog_profiling_protobuf:: prost_impls;
918
918
919
919
#[ test]
920
+ #[ cfg_attr( miri, ignore) ]
920
921
fn interning ( ) {
921
922
let sample_types = [ api:: ValueType :: new ( "samples" , "count" ) ] ;
922
923
let mut profiles = Profile :: new ( & sample_types, None ) ;
@@ -1191,6 +1192,7 @@ mod api_tests {
1191
1192
}
1192
1193
1193
1194
#[ test]
1195
+ #[ cfg_attr( miri, ignore) ]
1194
1196
fn reset_period ( ) {
1195
1197
/* The previous test (reset) checked quite a few properties already, so
1196
1198
* this one will focus only on the period.
You can’t perform that action at this time.
0 commit comments