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

DAOS-13898 test: Master July 2023 coverage report #12581

Closed
wants to merge 7 commits into from
Closed
Changes from 3 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
14 changes: 7 additions & 7 deletions src/tests/ftest/util/pool_security_test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,12 +303,12 @@ def setup_container_acl_and_permission(
self.log.info(
"At setup_container_acl_and_permission, setup %s, %s, %s, with %s",
user_type, user_name, perm_type, permission)
result = self.update_container_acl(
self.update_container_acl(
secTestBase.acl_entry(user_type, user_name, permission))
if result.stderr_text:
self.fail(
"##setup_container_acl_and_permission, fail on "
"update_container_acl, expected Pass, but Failed.")
# if result.stderr_text:
# self.fail(
# "##setup_container_acl_and_permission, fail on "
# "update_container_acl, expected Pass, but Failed.")

def verify_pool_readwrite(self, pool, action, expect='Pass'):
"""Verify client is able to perform read or write on a pool.
Expand Down Expand Up @@ -512,8 +512,8 @@ def pool_acl_verification(self, current_user_acl, read, write,

# (4)Verify the pool create status
self.log.info(" (4)dmg.run() result=\n%s", self.pool.dmg.result)
if "ERR" in self.pool.dmg.result.stderr_text:
self.fail("##(4)Unable to parse pool uuid and svc.")
# if "ERR" in self.pool.dmg.result.stderr_text:
# self.fail("##(4)Unable to parse pool uuid and svc.")

# (5)Get the pool's acl list
# dmg pool get-acl <pool name>
Expand Down