forked from TrueCloudLab/distribution
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:
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)
|
- test -z $(gofmt -s -l . | tee /dev/stderr)
|
||||||
- go vet ./...
|
- go vet ./...
|
||||||
- test -z $(golint ./... | tee /dev/stderr)
|
- 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.
|
# Disabling the race detector due to massive memory usage.
|
||||||
# - go test -race -test.v ./...:
|
# - go test -race -test.v ./...:
|
||||||
|
|
|
@ -213,7 +213,7 @@ func (suite *DriverSuite) TestWriteReadLargeStreams(c *check.C) {
|
||||||
defer suite.StorageDriver.Delete(firstPart(filename))
|
defer suite.StorageDriver.Delete(firstPart(filename))
|
||||||
|
|
||||||
checksum := sha1.New()
|
checksum := sha1.New()
|
||||||
var offset int64 = 0
|
var offset int64
|
||||||
var chunkSize int64 = 1024 * 1024
|
var chunkSize int64 = 1024 * 1024
|
||||||
|
|
||||||
for i := 0; i < 5*1024; i++ {
|
for i := 0; i < 5*1024; i++ {
|
||||||
|
|
Loading…
Reference in a new issue