Skip to content

Commit

Permalink
test: disable pmem2_badblock tests until #5636 is fixed
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
  • Loading branch information
grom72 committed Jul 11, 2023
1 parent 263d7e0 commit db534dd
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/test/pmem2_badblock/TESTS.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ def run_test(self, ctx, filepath):


# XXX - https://github.com/pmem/pmdk/issues/5636
class DISABLE_TEST0(PMEM2_BADBLOCK_COUNT):
@t.DISABLED()
class TEST0(PMEM2_BADBLOCK_COUNT):
"""
compares the number of bad blocks returned by pmem2 and ndctl on fsdax
"""
Expand All @@ -80,8 +81,9 @@ def run(self, ctx):


# XXX - https://github.com/pmem/pmdk/issues/5636
@t.DISABLED()
@t.require_devdax(t.DevDax('devdax1'))
class DISABLE_TEST1(PMEM2_BADBLOCK_COUNT):
class TEST1(PMEM2_BADBLOCK_COUNT):
"""
compares the number of bad blocks returned by pmem2 and ndctl on devdax
"""
Expand All @@ -93,7 +95,8 @@ def run(self, ctx):


# XXX - https://github.com/pmem/pmdk/issues/5636
class DISABLE_TEST2(PMEM2_BADBLOCK):
@t.DISABLED()
class TEST2(PMEM2_BADBLOCK):
"""test mcsafe read operation with encountered badblock"""
test_case = "test_pmem2_src_mcsafe_badblock_read"

Expand All @@ -103,7 +106,8 @@ def run(self, ctx):


# XXX - https://github.com/pmem/pmdk/issues/5636
class DISABLE_TEST3(PMEM2_BADBLOCK):
@t.DISABLED()
class TEST3(PMEM2_BADBLOCK):
"""test mcsafe write operation with encountered badblock"""
test_case = "test_pmem2_src_mcsafe_badblock_write"

Expand All @@ -113,8 +117,9 @@ def run(self, ctx):


# XXX - https://github.com/pmem/pmdk/issues/5636
@t.DISABLED()
@t.require_devdax(t.DevDax('devdax1'))
class DISABLE_TEST4(PMEM2_BADBLOCK):
class TEST4(PMEM2_BADBLOCK):
"""test mcsafe read operation with encountered badblock on devdax"""
test_case = "test_pmem2_src_mcsafe_badblock_read"

Expand All @@ -124,8 +129,9 @@ def run(self, ctx):


# XXX - https://github.com/pmem/pmdk/issues/5636
@t.DISABLED()
@t.require_devdax(t.DevDax('devdax1'))
class DISABLE_TEST5(PMEM2_BADBLOCK):
class TEST5(PMEM2_BADBLOCK):
"""test mcsafe write operation with encountered badblock on devdax"""
test_case = "test_pmem2_src_mcsafe_badblock_write"

Expand Down

0 comments on commit db534dd

Please sign in to comment.