Skip to content

Commit

Permalink
add gluster test
Browse files Browse the repository at this point in the history
  • Loading branch information
zhijian-pro committed Oct 31, 2023
1 parent e64bc5b commit 6a0ba07
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkg/object/gluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,13 @@ func TestGluster(t *testing.T) {
}
b, _ := newGluster(os.Getenv("GLUSTER_VOLUME"), "", "", "")
testStorage(t, b)

}

func TestGluster2(t *testing.T) {
if os.Getenv("GLUSTER_VOLUME") == "" {
t.SkipNow()
}
b, _ := newGluster(os.Getenv("GLUSTER_VOLUME"), "", "", "")
testFileSystem(t, b)
}

0 comments on commit 6a0ba07

Please sign in to comment.