1
0
mirror of https://github.com/distribution/distribution synced 2024-11-06 19:35:52 +01:00

Makes circle.yml run tests with the "-test.short" flag

This is due to longer tests which require more storage/memory than is
granted to us by the circle test runner vms.
This commit is contained in:
Brian Bland 2014-12-09 18:04:05 -08:00
parent 94052ea213
commit d375e264e1
2 changed files with 2 additions and 2 deletions

@ -21,7 +21,7 @@ test:
- test -z $(gofmt -s -l . | tee /dev/stderr)
- go vet ./...
- test -z $(golint ./... | tee /dev/stderr)
- go test -test.v ./...
- go test -test.v -test.short ./...
# Disabling the race detector due to massive memory usage.
# - go test -race -test.v ./...:

@ -213,7 +213,7 @@ func (suite *DriverSuite) TestWriteReadLargeStreams(c *check.C) {
defer suite.StorageDriver.Delete(firstPart(filename))
checksum := sha1.New()
var offset int64 = 0
var offset int64
var chunkSize int64 = 1024 * 1024
for i := 0; i < 5*1024; i++ {