You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apollo-router/src/plugins/telemetry/error_handler.rs
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,6 @@ mod tests {
8
8
use std::sync::Arc;
9
9
use std::time::Duration;
10
10
11
-
use dashmap::DashMap;
12
11
use parking_lot::Mutex;
13
12
use tracing_core::Event;
14
13
use tracing_core::Field;
@@ -23,7 +22,6 @@ mod tests {
23
22
24
23
#[tokio::test]
25
24
asyncfntest_handle_error_throttling(){
26
-
let error_map = DashMap::new();
27
25
// Set up a fake subscriber so we can check log events. If this is useful then maybe it can be factored out into something reusable
28
26
#[derive(Default)]
29
27
structTestVisitor{
@@ -83,7 +81,6 @@ mod tests {
83
81
#[tokio::test]
84
82
asyncfntest_cardinality_overflow(){
85
83
async{
86
-
let error_map = DashMap::new();
87
84
let msg = "Warning: Maximum data points for metric stream exceeded. Entry added to overflow. Subsequent overflows to same metric until next collect will not be logged.";
0 commit comments