fix harmless race where the same value is written to a tls config concurrently

This commit is contained in:
Mechiel Lukkien
2024-04-15 20:07:39 +02:00
parent 11eaa8cd1a
commit e1dbc07dba
2 changed files with 6 additions and 2 deletions

View File

@ -21,6 +21,9 @@ build1:
install: build0 frontend
CGO_ENABLED=0 go install
race: build0
go build -race
test:
CGO_ENABLED=0 go test -shuffle=on -coverprofile cover.out ./...
go tool cover -html=cover.out -o cover.html