File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1563,7 +1563,7 @@ pub struct JoinError {
15631563#[ cfg( test) ]
15641564mod tests {
15651565 use super :: * ;
1566- use crate :: config:: AgentEndpoint ;
1566+ use crate :: { allocation :: DEFAULT_ALLOCATION_SAMPLING_INTERVAL , config:: AgentEndpoint } ;
15671567 use datadog_profiling:: exporter:: Uri ;
15681568 use log:: LevelFilter ;
15691569
@@ -1582,7 +1582,7 @@ mod tests {
15821582 profiling_endpoint_collection_enabled : false ,
15831583 profiling_experimental_cpu_time_enabled : false ,
15841584 profiling_allocation_enabled : false ,
1585- profiling_allocation_sampling_distance : 4194304 ,
1585+ profiling_allocation_sampling_distance : DEFAULT_ALLOCATION_SAMPLING_INTERVAL as u32 ,
15861586 profiling_timeline_enabled : false ,
15871587 profiling_exception_enabled : false ,
15881588 profiling_exception_message_enabled : false ,
You can’t perform that action at this time.
0 commit comments