mirror of
https://github.com/jmcorgan/fips.git
synced 2026-07-30 19:46:15 +00:00
Fix stale discovery success regex in log analyzer
The log analysis matched "proof verified, caching route" but the actual log message is "Discovery succeeded, proof verified, route cached", causing discovery succeeded to show 0 in all sim runs.
This commit is contained in:
@@ -176,7 +176,7 @@ def _analyze_lines(result: AnalysisResult, source: str, log_text: str):
|
||||
# Discovery
|
||||
if "Initiating LookupRequest" in line or "Discovery lookup initiated" in line:
|
||||
result.discovery_initiated.append((source, line))
|
||||
if "proof verified, caching route" in line:
|
||||
if "proof verified, route cached" in line:
|
||||
result.discovery_succeeded.append((source, line))
|
||||
if "target not in any peer bloom filter" in line:
|
||||
result.discovery_bloom_miss.append((source, line))
|
||||
|
||||
Reference in New Issue
Block a user