Skip to content

Commit c2f3da1

Browse files
committed
No Noops when feature flag is on
1 parent 7212519 commit c2f3da1

File tree

1 file changed

+2
-2
lines changed
  • opentelemetry-sdk/src/metrics

1 file changed

+2
-2
lines changed

opentelemetry-sdk/src/metrics/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,10 @@ mod tests {
218218

219219
#[tokio::test(flavor = "multi_thread", worker_threads = 1)]
220220
#[cfg(feature = "experimental_metrics_disable_name_validation")]
221-
async fn valid_instrument_config_noops_with_feature_experimental_metrics_disable_name_validation(
221+
async fn valid_instrument_config_with_feature_experimental_metrics_disable_name_validation(
222222
) {
223223
// Run this test with stdout enabled to see output.
224-
// cargo test valid_instrument_config_noops_with_feature_experimental_metrics_disable_name_validation --features "testing,spec_unstable_metrics_views,experimental_metrics_disable_name_validation" -- --nocapture
224+
// cargo test valid_instrument_config_with_feature_experimental_metrics_disable_name_validation --all-features -- --nocapture
225225
let invalid_instrument_names = vec![
226226
"_startWithNoneAlphabet",
227227
"utf8char锈",

0 commit comments

Comments
 (0)