Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: disable pmem2_integration/33-37 under pmemcheck #5871

Merged
merged 1 commit into from
Aug 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 17 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,37 @@ class TEST32(PMEM2_INTEGRATION):
test_case = "test_source_anon_zero_len"


class TEST33(PMEM2_INTEGRATION_DEV_DAXES):
# The Valgrind pmemcheck tool does not have a notion of a deep flush.
# Whereas from the persistency point of view, the deep flush test cases are
# trivial so running them under pmemcheck produces little value.
# At the same time, they touch a whole provided device DAX space hence running
# them under pmemcheck is extensively time-consuming.
@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
Loading