Skip to content

Commit d43b957

Browse files
bradseilercodex
andcommitted
test(relay): initialize scraper errors from each observation
Co-authored-by: Codex <[email protected]> Signed-off-by: Brad Seiler <[email protected]>
1 parent 3d02a44 commit d43b957

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎crates/buzz-relay/tests/boot_lifecycle.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ fn wait_for_scraped_metric(process: &mut RelayProcess, port: u16, needle: &str)
177177
fn wait_for_scraped_metrics(process: &mut RelayProcess, port: u16, needles: &[&str]) -> String {
178178
let requested = needles.join(", ");
179179
let mut last_scrape = String::new();
180-
let mut last_error = None;
180+
let mut last_error: Option<String>;
181181
let deadline = Instant::now() + METRICS_SCRAPE_DEADLINE;
182182
loop {
183183
assert!(

0 commit comments

Comments
 (0)