Skip to content

Commit

Permalink
test: adjust gluster test (#4430)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhijian-pro authored Feb 28, 2024
1 parent 4239270 commit 83b2ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/object/filesystem_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func testFileSystem(t *testing.T, s ObjectStorage) {
expectedKeys = []string{"x/", "x/x.txt", "xy.txt", "xyz/", "xyz/xyz.txt"}
}
if mode == 0422 {
if _, ok := ss.(*gluster); ok {
if strings.HasPrefix(s.String(), "gluster://") {
expectedKeys = []string{"x/", "x/x.txt", "xy.txt", "xyz/", "xyz/xyz.txt"}
}
}
Expand Down

0 comments on commit 83b2ba2

Please sign in to comment.