commit | 22ddb68eccda408bbf17759ac18d3120ce0d4f3f | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Tue Feb 07 17:51:51 2017 -0500 |
committer | Heschi Kreinick <heschi@google.com> | Tue Feb 07 22:59:19 2017 +0000 |
tree | 13a32b4d0cd2cb749c88ccbdc158b65d7a2f5277 | |
parent | 59a182cab66ead4fe21e6472267504ac035edee2 [diff] |
acme/autocert: fix racy tests memCache used an unsynchronized map, which failed go test -race. Add a mutex and constructor function to fix it. Change-Id: Iddaa492ea1e3d7747965c6423368baa6556402ed Reviewed-on: https://go-review.googlesource.com/36545 Run-TryBot: Heschi Kreinick <heschi@google.com> Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>