Skip to content

Commit

Permalink
fix: code fmted
Browse files Browse the repository at this point in the history
  • Loading branch information
Nabil-Salah committed Dec 4, 2024
1 parent 59eaa08 commit 7c941ca
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/storage/filesystem/btrfs_ci_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ func basePoolTest(t *testing.T, pool Pool) {
assert.Equal(t, path.Join("/mnt", pool.Name(), "subvol1"), volume.Path())
})


t.Run("test list volumes", func(t *testing.T) {
volumes, err := pool.Volumes()
require.NoError(t, err)
Expand Down Expand Up @@ -187,7 +186,7 @@ func basePoolTest(t *testing.T, pool Pool) {
require.NoError(t, err)

// Note: an empty subvolume has an overhead of 16384 bytes
assert.Equal(t, Usage{Used: 50*1024*1024, Size: 50 * 1024 * 1024}, usage)
assert.Equal(t, Usage{Used: 50 * 1024 * 1024, Size: 50 * 1024 * 1024}, usage)
})

t.Run("test remove subvolume", func(t *testing.T) {
Expand Down Expand Up @@ -256,7 +255,7 @@ func TestCLeanUpQgroupsCI(t *testing.T) {

qgroups, err := btrfsVol.utils.QGroupList(context.TODO(), pool.Path())
require.NoError(t, err)

// it start with a volume of size 16384 by default
assert.Equal(t, 2, len(qgroups))
t.Logf("qgroups before delete: %v", qgroups)
Expand Down

0 comments on commit 7c941ca

Please sign in to comment.