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_badblock tests due to #5636 #5650

Merged
merged 1 commit into from
May 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 13 additions & 7 deletions src/test/pmem2_badblock/TESTS.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!../env.py
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2021, Intel Corporation
# Copyright 2021-2023, Intel Corporation
#

import os
Expand Down Expand Up @@ -69,7 +69,8 @@ def run_test(self, ctx, filepath):
bbTool.clear_all(filepath)


class TEST0(PMEM2_BADBLOCK_COUNT):
# XXX - https://github.com/pmem/pmdk/issues/5636
class DISABLE_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):
self.run_test(ctx, filepath)


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


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

Expand All @@ -101,7 +104,8 @@ def run(self, ctx):
self.run_test(ctx, filepath)


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

Expand All @@ -110,8 +114,9 @@ def run(self, ctx):
self.run_test(ctx, filepath)


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

Expand All @@ -120,8 +125,9 @@ def run(self, ctx):
self.run_test(ctx, ddpath)


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

Expand Down