Merge pull request #1341 from mlaventure/enable-test-parallelism

Enable test parallelism
This commit is contained in:
Stephen Day
2017-08-14 15:18:37 -07:00
committed by GitHub
13 changed files with 117 additions and 21 deletions

View File

@@ -152,6 +152,8 @@ func newClient(t testing.TB, address string, opts ...ClientOpt) (*Client, error)
}
func TestNewClient(t *testing.T) {
t.Parallel()
client, err := newClient(t, address)
if err != nil {
t.Fatal(err)
@@ -164,6 +166,7 @@ func TestNewClient(t *testing.T) {
}
}
// All the container's tests depends on this, we need it to run first.
func TestImagePull(t *testing.T) {
if runtime.GOOS == "windows" {
// TODO: remove once Windows has a snapshotter