Skip to content
Snippets Groups Projects

Only test remaining uncached bridge lines

Merged Cecylia Bocovich requested to merge cache_fix into main
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
+ 3
2
@@ -113,11 +113,12 @@ func testBridgeLines(req *TestRequest) *TestResult {
remainingBridgeLines = append(remainingBridgeLines, bridgeLine)
}
}
req.BridgeLines = remainingBridgeLines
// Test whatever bridges remain.
if len(remainingBridgeLines) > 0 {
if len(req.BridgeLines) > 0 {
log.Printf("%d bridge lines served from cache; testing remaining %d bridge lines.",
numCached, len(remainingBridgeLines))
numCached, len(req.BridgeLines))
start := time.Now()
req.resultChan = make(chan *TestResult)
Loading