@@ -153,7 +153,7 @@ mod tests {
153
153
use std:: thread;
154
154
155
155
// Run all tests in this mod
156
- // cargo test metrics::tests --features=metrics, testing
156
+ // cargo test metrics::tests --features=testing
157
157
// Note for all tests from this point onwards in this mod:
158
158
// "multi_thread" tokio flavor must be used else flush won't
159
159
// be able to make progress!
@@ -190,49 +190,49 @@ mod tests {
190
190
#[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
191
191
async fn counter_aggregation_cumulative ( ) {
192
192
// Run this test with stdout enabled to see output.
193
- // cargo test counter_aggregation_cumulative --features=metrics, testing -- --nocapture
193
+ // cargo test counter_aggregation_cumulative --features=testing -- --nocapture
194
194
counter_aggregation_helper ( Temporality :: Cumulative ) ;
195
195
}
196
196
197
197
#[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
198
198
async fn counter_aggregation_delta ( ) {
199
199
// Run this test with stdout enabled to see output.
200
- // cargo test counter_aggregation_delta --features=metrics, testing -- --nocapture
200
+ // cargo test counter_aggregation_delta --features=testing -- --nocapture
201
201
counter_aggregation_helper ( Temporality :: Delta ) ;
202
202
}
203
203
204
204
#[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
205
205
async fn histogram_aggregation_cumulative ( ) {
206
206
// Run this test with stdout enabled to see output.
207
- // cargo test histogram_aggregation_cumulative --features=metrics, testing -- --nocapture
207
+ // cargo test histogram_aggregation_cumulative --features=testing -- --nocapture
208
208
histogram_aggregation_helper ( Temporality :: Cumulative ) ;
209
209
}
210
210
211
211
#[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
212
212
async fn histogram_aggregation_delta ( ) {
213
213
// Run this test with stdout enabled to see output.
214
- // cargo test histogram_aggregation_delta --features=metrics, testing -- --nocapture
214
+ // cargo test histogram_aggregation_delta --features=testing -- --nocapture
215
215
histogram_aggregation_helper ( Temporality :: Delta ) ;
216
216
}
217
217
218
218
#[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
219
219
async fn updown_counter_aggregation_cumulative ( ) {
220
220
// Run this test with stdout enabled to see output.
221
- // cargo test updown_counter_aggregation_cumulative --features=metrics, testing -- --nocapture
221
+ // cargo test updown_counter_aggregation_cumulative --features=testing -- --nocapture
222
222
updown_counter_aggregation_helper ( Temporality :: Cumulative ) ;
223
223
}
224
224
225
225
#[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
226
226
async fn updown_counter_aggregation_delta ( ) {
227
227
// Run this test with stdout enabled to see output.
228
- // cargo test updown_counter_aggregation_delta --features=metrics, testing -- --nocapture
228
+ // cargo test updown_counter_aggregation_delta --features=testing -- --nocapture
229
229
updown_counter_aggregation_helper ( Temporality :: Delta ) ;
230
230
}
231
231
232
232
#[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
233
233
async fn gauge_aggregation ( ) {
234
234
// Run this test with stdout enabled to see output.
235
- // cargo test gauge_aggregation --features=metrics, testing -- --nocapture
235
+ // cargo test gauge_aggregation --features=testing -- --nocapture
236
236
237
237
// Gauge should use last value aggregation regardless of the aggregation temporality used.
238
238
gauge_aggregation_helper ( Temporality :: Delta ) ;
@@ -553,7 +553,7 @@ mod tests {
553
553
#[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
554
554
async fn histogram_aggregation_with_invalid_aggregation_should_proceed_as_if_view_not_exist ( ) {
555
555
// Run this test with stdout enabled to see output.
556
- // cargo test histogram_aggregation_with_invalid_aggregation_should_proceed_as_if_view_not_exist --features=metrics, testing -- --nocapture
556
+ // cargo test histogram_aggregation_with_invalid_aggregation_should_proceed_as_if_view_not_exist --features=testing -- --nocapture
557
557
558
558
// Arrange
559
559
let exporter = InMemoryMetricsExporter :: default ( ) ;
@@ -602,7 +602,7 @@ mod tests {
602
602
603
603
#[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
604
604
async fn spatial_aggregation_when_view_drops_attributes_observable_counter ( ) {
605
- // cargo test spatial_aggregation_when_view_drops_attributes_observable_counter --features=metrics, testing
605
+ // cargo test spatial_aggregation_when_view_drops_attributes_observable_counter --features=testing
606
606
607
607
// Arrange
608
608
let exporter = InMemoryMetricsExporter :: default ( ) ;
@@ -677,7 +677,7 @@ mod tests {
677
677
678
678
#[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
679
679
async fn spatial_aggregation_when_view_drops_attributes_counter ( ) {
680
- // cargo test spatial_aggregation_when_view_drops_attributes_counter --features=metrics, testing
680
+ // cargo test spatial_aggregation_when_view_drops_attributes_counter --features=testing
681
681
682
682
// Arrange
683
683
let exporter = InMemoryMetricsExporter :: default ( ) ;
@@ -754,7 +754,7 @@ mod tests {
754
754
#[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
755
755
async fn counter_aggregation_attribute_order ( ) {
756
756
// Run this test with stdout enabled to see output.
757
- // cargo test counter_aggregation_attribute_order --features=metrics, testing -- --nocapture
757
+ // cargo test counter_aggregation_attribute_order --features=testing -- --nocapture
758
758
759
759
// Arrange
760
760
let mut test_context = TestContext :: new ( Temporality :: Delta ) ;
@@ -987,7 +987,7 @@ mod tests {
987
987
#[ ignore = "Known bug: https://github.com/open-telemetry/opentelemetry-rust/issues/1598" ]
988
988
async fn delta_memory_efficiency_test ( ) {
989
989
// Run this test with stdout enabled to see output.
990
- // cargo test delta_memory_efficiency_test --features=metrics, testing -- --nocapture
990
+ // cargo test delta_memory_efficiency_test --features=testing -- --nocapture
991
991
992
992
// Arrange
993
993
let mut test_context = TestContext :: new ( Temporality :: Delta ) ;
@@ -1036,7 +1036,7 @@ mod tests {
1036
1036
#[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1037
1037
async fn counter_multithreaded ( ) {
1038
1038
// Run this test with stdout enabled to see output.
1039
- // cargo test counter_multithreaded --features=metrics, testing -- --nocapture
1039
+ // cargo test counter_multithreaded --features=testing -- --nocapture
1040
1040
1041
1041
counter_multithreaded_aggregation_helper ( Temporality :: Delta ) ;
1042
1042
counter_multithreaded_aggregation_helper ( Temporality :: Cumulative ) ;
0 commit comments