Skip to content

Commit 8667020

Browse files
committed
Skip tests which seem to trigger a dbus-python bug
Bug: stratis-storage/project#741 Signed-off-by: mulhern <amulhern@redhat.com>
1 parent dbb4ba2 commit 8667020

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

testlib/infra.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,16 @@ def __init__(self, *, test_id=None):
667667
"""
668668
self.dbus_monitor = DbusMonitor()
669669
# See: https://github.com/stratis-storage/project/issues/741
670-
if test_id is None or not test_id.endswith("test_pool_add_data_init_cache"):
670+
if test_id is None or all(
671+
not test_id.endswith(test_name)
672+
for test_name in [
673+
"test_pool_add_data_init_cache",
674+
"test_pool_start_by_name",
675+
"test_pool_start_stopped",
676+
"test_pool_start_without_cache",
677+
"test_pool_start_without_cache_encrypted",
678+
]
679+
):
671680
self.dbus_monitor.setUp()
672681

673682
def teardown(self):

0 commit comments

Comments
 (0)