From e15e07cb40d6fad71446930190c0b2ad99110a24 Mon Sep 17 00:00:00 2001 From: Stephen J Day Date: Fri, 5 Dec 2014 20:20:01 -0800 Subject: [PATCH] Disable race detector during tests due to memory usage The tests are using way too much memory with the race detector enabled causing the build machines to fall over. Cursory profiling shows no leaks but it may need a closer look. For now, it will be disabled but this cannot be permanent. --- circle.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/circle.yml b/circle.yml index 96fa911a2..16a6c817e 100644 --- a/circle.yml +++ b/circle.yml @@ -21,8 +21,11 @@ test: - test -z $(gofmt -s -l . | tee /dev/stderr) - go vet ./... - test -z $(golint ./... | tee /dev/stderr) - - go test -race -test.v ./...: - timeout: 600 + - go test -test.v ./... + + # Disabling the race detector due to massive memory usage. + # - go test -race -test.v ./...: + # timeout: 600 # TODO(stevvooe): The following is an attempt at using goveralls but it # just doesn't work. goveralls requires a single profile file to be