Skip to content

Commit ba624ac

Browse files
authored
Log the flakinessrate at ct-test-srv startup (#7896)
This is useful for checking configurations via logs.
1 parent 5b94510 commit ba624ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ct-test-srv/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ func runPersonality(p Personality) {
236236
Handler: m,
237237
}
238238
logID := sha256.Sum256(pubKeyBytes)
239-
log.Printf("ct-test-srv on %s with pubkey %s and log ID %s", p.Addr,
240-
base64.StdEncoding.EncodeToString(pubKeyBytes), base64.StdEncoding.EncodeToString(logID[:]))
239+
log.Printf("ct-test-srv on %s with pubkey: %s, log ID: %s, flakiness: %d%%", p.Addr,
240+
base64.StdEncoding.EncodeToString(pubKeyBytes), base64.StdEncoding.EncodeToString(logID[:]), p.FlakinessRate)
241241
log.Fatal(srv.ListenAndServe())
242242
}
243243

0 commit comments

Comments
 (0)