Skip to content

Commit

Permalink
test: disable pmem2_integration/33-37 under pmemcheck
Browse files Browse the repository at this point in the history
Ref: #5870

Signed-off-by: Jan Michalski <jan.michalski@intel.com>
  • Loading branch information
janekmi committed Aug 22, 2023
1 parent 24ad25f commit e0efe5a
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions src/test/pmem2_integration/TESTS.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ def run(self, ctx):
ctx.exec('pmem2_integration', self.test_case, filepath)


@t.require_devdax(t.DevDax('devdax'))
@t.require_devdax(t.DevDax('devdax'), max_size=1 * t.GiB)
class PMEM2_INTEGRATION_DEV_DAXES(t.Test):
test_type = t.Medium

def run(self, ctx):
dd = ctx.devdaxes.devdax
print(dd.path)
ctx.exec('pmem2_integration', self.test_case, dd.path)


Expand Down Expand Up @@ -249,27 +250,36 @@ class TEST32(PMEM2_INTEGRATION):
test_case = "test_source_anon_zero_len"


class TEST33(PMEM2_INTEGRATION_DEV_DAXES):
# XXX tests 33-37 should not be run under pmemcheck till
# https://github.com/pmem/pmdk/issues/5870 is fixed and a small enough maximum
# device DAX size will be specified to keep the execution time for these tests
# reasonable.
@t.require_valgrind_disabled('pmemcheck')
class PMEM2_INTEGRATION_DEV_DAXES_NO_PMEMCHECK(PMEM2_INTEGRATION_DEV_DAXES):
pass


class TEST33(PMEM2_INTEGRATION_DEV_DAXES_NO_PMEMCHECK):
"""test valid case of pmem2_deep_sflush"""
test_case = "test_deep_flush_valid"


class TEST34(PMEM2_INTEGRATION_DEV_DAXES):
class TEST34(PMEM2_INTEGRATION_DEV_DAXES_NO_PMEMCHECK):
"""test deep flush with range out of map"""
test_case = "test_deep_flush_e_range_behind"


class TEST35(PMEM2_INTEGRATION_DEV_DAXES):
class TEST35(PMEM2_INTEGRATION_DEV_DAXES_NO_PMEMCHECK):
"""test deep flush with range out of map"""
test_case = "test_deep_flush_e_range_before"


class TEST36(PMEM2_INTEGRATION_DEV_DAXES):
class TEST36(PMEM2_INTEGRATION_DEV_DAXES_NO_PMEMCHECK):
"""test deep flush with part of map"""
test_case = "test_deep_flush_slice"


class TEST37(PMEM2_INTEGRATION_DEV_DAXES):
class TEST37(PMEM2_INTEGRATION_DEV_DAXES_NO_PMEMCHECK):
"""test deep flush with overlapping part"""
test_case = "test_deep_flush_overlap"

Expand Down

0 comments on commit e0efe5a

Please sign in to comment.