From 6a0ba0710a433419e4484af39b76886acaf546ad Mon Sep 17 00:00:00 2001 From: zhijian Date: Mon, 30 Oct 2023 17:49:34 +0800 Subject: [PATCH] add gluster test --- pkg/object/gluster_test.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkg/object/gluster_test.go b/pkg/object/gluster_test.go index e155cb7e5a9d..f7eaa0554752 100644 --- a/pkg/object/gluster_test.go +++ b/pkg/object/gluster_test.go @@ -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) }