Skip to content

Commit

Permalink
testcases/smbtorture: use filesystem variant to set flapping list
Browse files Browse the repository at this point in the history
The smbtorture results could vary based on the filesystem variant used.
We use the variant passed in the test-info.yml to set the flapping list
used.

Signed-off-by: Sachin Prabhu <[email protected]>
  • Loading branch information
spuiuk authored and Shwetha-Acharya committed Aug 6, 2024
1 parent cfdae8a commit 7e5e871
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions testcases/smbtorture/selftest/expectedfail.d/sparse-files
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# CephFS does not explicitly track which parts of a file are allocated/written with sparse files,
# the st_blocks field is always populated by the file size divided by the block size.
# This will cause tools like du(1) to overestimate consumed space.
# (The recursive size field, maintained by CephFS, also includes file “holes” in its count.)

# Refer: https://github.com/samba-in-kubernetes/sit-test-cases/issues/86
^samba3.smb2.ioctl.sparse_punch
^samba3.smb2.ioctl.sparse_qar_ob1
^samba3.smb2.ioctl.sparse_punch_invalid
^samba3.smb2.ioctl.copy-chunk streams
3 changes: 3 additions & 0 deletions testcases/smbtorture/selftest/flapping.glusterfs
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@

#https://github.com/gluster/samba-integration/issues/241
^samba3.smb2.deny.*

# Checking this feature against cephFS only
^samba3.smb2.ioctl
3 changes: 3 additions & 0 deletions testcases/smbtorture/selftest/flapping.gpfs
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@
# Ignore due to lack of proper multichannel setup.
^samba3.smb2.session.bind2
^samba3.smb2.session.two_logoff

# Checking this feature against cephFS only
^samba3.smb2.ioctl
3 changes: 3 additions & 0 deletions testcases/smbtorture/selftest/flapping.xfs
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@

# https://github.com/samba-in-kubernetes/sit-environment/pull/109
samba3.smb2.session.reauth4

# Checking this feature against cephFS only
^samba3.smb2.ioctl

0 comments on commit 7e5e871

Please sign in to comment.