Skip to content

Commit 5d5824c

Browse files
committed
remove unrequired false
1 parent 54edc13 commit 5d5824c

File tree

6 files changed

+5
-17
lines changed

6 files changed

+5
-17
lines changed

core/examples/fizz_buzz/actor/div_by_3_producer.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@ pub(crate) mod tests {
6868

6969
#[async_std::test]
7070
async fn test_simple_process() {
71-
let mut graph = GraphBuilder::for_testing()
72-
.with_telemetry_metric_features(false)
73-
.build(());
71+
let mut graph = GraphBuilder::for_testing().build(());
7472

7573
let (numbers_tx, test_numbers_rx) = graph.channel_builder()
7674
.with_capacity(50000)

core/examples/fizz_buzz/actor/div_by_5_producer.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ pub(crate) mod tests {
6464

6565
#[async_std::test]
6666
async fn test_simple_process() {
67-
let mut graph = GraphBuilder::for_testing()
68-
.with_telemetry_metric_features(false)
69-
.build(());
67+
let mut graph = GraphBuilder::for_testing().build(());
7068

7169
let (numbers_tx, test_numbers_rx) = graph.channel_builder()
7270
.with_capacity(50000).build();

core/examples/high_performance/actor/tick_generator.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ pub(crate) mod actor_tests {
6161

6262
#[async_std::test]
6363
pub(crate) async fn test_simple_process() {
64-
let mut graph = GraphBuilder::for_testing()
65-
.with_telemetry_metric_features(false)
66-
.build(());
64+
let mut graph = GraphBuilder::for_testing().build(());
6765

6866
let (ticks_tx_out,ticks_rx_out) = graph.channel_builder()
6967
.with_capacity(BUFFER_SIZE)

core/src/distributed/aeron_subscribe.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,7 @@ pub(crate) mod aeron_media_driver_tests {
279279
return;
280280
}
281281

282-
let mut graph = GraphBuilder::for_testing()
283-
.with_telemetry_metric_features(false)
284-
.build(());
282+
let mut graph = GraphBuilder::for_testing().build(());
285283

286284
if graph.aeron_md().is_none() {
287285
info!("aeron test skipped, no media driver present");

core/src/distributed/aeron_subscribe_bundle.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,7 @@ pub(crate) mod aeron_media_driver_tests {
328328
unsafe {
329329
env::set_var("TELEMETRY_SERVER_PORT", "9301");
330330
}
331-
let mut graph = GraphBuilder::for_testing()
332-
.with_telemetry_metric_features(false)
333-
.build(());
331+
let mut graph = GraphBuilder::for_testing().build(());
334332

335333
if graph.aeron_md().is_none() {
336334
info!("aeron test skipped, no media driver present");

core/src/telemetry/metrics_server.rs

-2
Original file line numberDiff line numberDiff line change
@@ -616,8 +616,6 @@ mod http_telemetry_tests {
616616
// Step 1: Set up a minimal graph
617617
let mut graph = GraphBuilder::for_testing()
618618
.with_telemtry_production_rate_ms(500)
619-
// turn off because I am creating the sever here for testing
620-
.with_telemetry_metric_features(false)
621619
.build(());
622620

623621
// Step 2: Start the metrics_server actor

0 commit comments

Comments
 (0)