summaryrefslogtreecommitdiff
path: root/integration/plugin
diff options
context:
space:
mode:
authorvikrambirsingh <vikrambir.singh@docker.com>2019-11-07 22:42:20 +0000
committervikrambirsingh <vikrambir.singh@docker.com>2019-11-07 22:42:20 +0000
commit25c5a55261c3a856264c19d3b252351566a210a6 (patch)
tree11f365b29aa2cbdb0f43cb0074ae57e7f206c455 /integration/plugin
parente9bd017b680cf3eb05d8db21500979ac22969658 (diff)
downloaddocker-25c5a55261c3a856264c19d3b252351566a210a6.tar.gz
Check for OS Type and skip within the test
Premature check for OS type means that the test will never even get to run on other OS types. This will cause it to be always flagged as a failure on such OS types. Signed-off-by: vikrambirsingh <vikrambir.singh@docker.com>
Diffstat (limited to 'integration/plugin')
-rw-r--r--integration/plugin/volumes/main_test.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/integration/plugin/volumes/main_test.go b/integration/plugin/volumes/main_test.go
index fe0a07938b..a8ca6a82a1 100644
--- a/integration/plugin/volumes/main_test.go
+++ b/integration/plugin/volumes/main_test.go
@@ -19,9 +19,6 @@ func TestMain(m *testing.M) {
fmt.Println(err)
os.Exit(1)
}
- if testEnv.OSType != "linux" {
- os.Exit(0)
- }
err = environment.EnsureFrozenImagesLinux(testEnv)
if err != nil {
fmt.Println(err)