Skip to content

Commit

Permalink
Corrected run federation handling in memory test
Browse files Browse the repository at this point in the history
Signed-off-by: noopur <[email protected]>
  • Loading branch information
noopurintel committed Dec 18, 2024
1 parent 642ecbd commit 7a153fd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/end_to_end/test_suites/memory_logs_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,12 @@ def _log_memory_usage(request, fed_obj):
6. Log the availability of memory usage details for all participants.
"""
# Start the federation
results = fed_helper.run_federation(fed_obj)
if request.config.test_env == "task_runner_basic":
results = fed_helper.run_federation(fed_obj)
else:
results = fed_helper.run_federation_for_dws(
fed_obj, use_tls=request.config.use_tls
)

# Verify the completion of the federation run
assert fed_helper.verify_federation_run_completion(
Expand Down

0 comments on commit 7a153fd

Please sign in to comment.