Skip to content

Commit

Permalink
test: disable test due to #5641
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 May 16, 2023
1 parent 5bfd7d9 commit 0fa5389
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/test/ex_libpmem2/TESTS.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#
import futils
import testframework as t
from testframework import granularity as g


@t.require_build(['debug', 'release'])
Expand Down Expand Up @@ -73,14 +74,29 @@ def run(self, ctx):
ctx.exec(example_path, *args, stdout_file='out4.log')


class TEST5(EX_LIBPMEM2):
# XXX Disable the test execution under pmemcheck with g.PAGE until fixed.
# https://github.com/pmem/pmdk/issues/5641
# additionall test TEST501 has been added to cover non-pmemcheck configs.
class EX_LIBPMEM2_TEST5(EX_LIBPMEM2):

def run(self, ctx):
example_path = futils.get_example_path(ctx, 'pmem2', 'unsafe_shutdown')
file_path = ctx.create_holey_file(self.file_size, 'testfile0')
ctx.exec(example_path, "write", file_path, "foobar")
ctx.exec(example_path, "read", file_path, stdout_file='out5.log')

@g.require_granularity(g.CACHELINE, g.BYTE) # to be removed when fixed
@t.require_valgrind_enabled('pmemcheck') # to be removed when fixed
class TEST5(EX_LIBPMEM2_TEST5):

pass


@t.require_valgrind_disabled('pmemcheck')
class TEST501(EX_LIBPMEM2_TEST5): # to be removed when fix available

pass


@t.windows_exclude
# This test case would require two VALGRIND_SET_CLEAN() calls
Expand Down

0 comments on commit 0fa5389

Please sign in to comment.