don't double parallel
This commit is contained in:
parent
2d43e527d1
commit
4a69e1ad15
|
@ -1271,9 +1271,6 @@ func TestDockerDriver_Stats(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func setupDockerVolumes(t *testing.T, cfg *config.Config, hostpath string) (*structs.Task, Driver, *ExecContext, string, func()) {
|
func setupDockerVolumes(t *testing.T, cfg *config.Config, hostpath string) (*structs.Task, Driver, *ExecContext, string, func()) {
|
||||||
if !tu.IsTravis() {
|
|
||||||
t.Parallel()
|
|
||||||
}
|
|
||||||
if !testutil.DockerIsConnected(t) {
|
if !testutil.DockerIsConnected(t) {
|
||||||
t.Skip("Docker not connected")
|
t.Skip("Docker not connected")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue