Skip to content

Commit

Permalink
Skip tests in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
dadgar committed Dec 4, 2018
1 parent f928870 commit a62a151
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions client/driver/docker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2166,7 +2166,9 @@ func setupDockerBindMount(t *testing.T, cfg *config.Config, hostpath string) (*s
}

func TestDockerDriver_BindMount_VolumesDisabled(t *testing.T) {
if !tu.IsTravis() {
if tu.IsTravis() {
t.Skip("Need to upgrade to Ubuntu 16.04+")
} else {
t.Parallel()
}
if !testutil.DockerIsConnected(t) {
Expand Down Expand Up @@ -2228,7 +2230,9 @@ func TestDockerDriver_BindMount_VolumesDisabled(t *testing.T) {
}

func TestDockerDriver_BindMount_VolumesEnabled(t *testing.T) {
if !tu.IsTravis() {
if tu.IsTravis() {
t.Skip("Need to upgrade to Ubuntu 16.04+")
} else {
t.Parallel()
}
if !testutil.DockerIsConnected(t) {
Expand Down

0 comments on commit a62a151

Please sign in to comment.