Commit Graph

112 Commits (ca37d42048d0f4a31a3cf7e8f3594267fba3588c)

Author SHA1 Message Date
Clayton Coleman d573d81306 Let coverage and timeout be overriden in hack/test-go.sh
As usual, shell review / test gratefully accepted.  Tested on OSX and
F20
2014-08-19 01:13:03 -04:00
Nan Monnand Deng eb462eba06 changed scripts to use godep 2014-08-13 15:02:14 -04:00
Clayton Coleman 67166e581b Run all go tests in parallel (6x speedup)
Currently hack/test-go.sh runs in serial in independent executions of
go test.  By running all tests at once, we get parallel execution.
However, we cannot use -coverprofile with this mode, which seems worthwhile.

On a 4-core mac, runs tests in 15s that ran in 80s before. Tested on F20 and
OSX Mavericks.
2014-08-04 13:39:34 -04:00
Clayton Coleman f7948015bd The quotes around the file should not be necessary
In Go 1.2 on the Mac they result in a file created with actual
quotes.
2014-07-25 13:11:45 -04:00
Brendan Burns bf5ae4bb9d Fork API types. 2014-07-24 21:47:08 -07:00
Clayton Coleman 9a9d140a8a -cover causes races in Go 1.2
Make -covermode=atomic the default until we drop 1.2 support
Enable Go 1.2 in Travis
2014-07-11 15:48:31 -04:00
Clayton Coleman 8b06cd8e01 Allow hack/test-go.sh to support flags
Pass arguments after the package directly to go test

    hack/test-go.sh pkg/util -v -test.run=TestNewStringSet

And also allow global flags

    hack/test-go.sh "" -v
2014-07-07 09:30:44 -04:00
Nan Deng 903c4a957c remove 1.2 2014-07-02 23:27:00 -07:00
Nan Deng e444bf23f6 turn off code cover. 2014-07-02 23:23:14 -07:00
Nan Deng 0a97e514b3 turn on race detector by default 2014-07-02 23:22:09 -07:00
Brendan Burns 9010ef954c Update tests 2014-06-09 07:16:43 -07:00
Joe Beda 894a7e3282 Move everything out of src and reorganize scripts.
Fixed up some scripts to be more robust.  Changed the e2e test setup to use g1-small instances.  Fixed up documentation to reflect the new script locations.  Disabled the "curl | bash" cluster launch as it hasn't been well tested and doesn't include the cloudcfg tool yet.
2014-06-06 21:41:19 -07:00