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-16220 test: Verify daos_agent user mode in CI #15145

Draft
wants to merge 14 commits into
base: pahender/DAOS-16220
Choose a base branch
from
Draft
Show file tree
Hide file tree
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
10 changes: 10 additions & 0 deletions src/tests/ftest/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,16 @@ def main():
"standard test yaml file.")
args = parser.parse_args()

# Hack to test daos_agent user - start
args.mode = "custom_a"
args.archive = True
args.include_localhost = True
args.jenkinslog = True
args.overwrite_config = True
args.rename = True
args.sparse = True
# Hack to test daos_agent user - end

# Override arguments via the mode
if args.mode == "ci":
args.archive = True
Expand Down
2 changes: 1 addition & 1 deletion src/tests/ftest/util/apricot/apricot/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ def setUp(self):
self.log_step('setUp(): Starting agents')
self.start_agents(force=force_agent_start)

self.skip_add_log_msg = self.params.get("skip_add_log_msg", "/run/*", False)
self.skip_add_log_msg = self.params.get("skip_add_log_msg", "/run/*", True)

# If there's no server started, then there's no server log to write to.
if (self.setup_start_servers and self.setup_start_agents and not self.skip_add_log_msg):
Expand Down
Loading