Skip to content

Commit

Permalink
Revert testing changes
Browse files Browse the repository at this point in the history
Signed-off-by: noopur <[email protected]>
  • Loading branch information
noopurintel committed Nov 21, 2024
1 parent ce5ed5c commit 62732a9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions tests/end_to_end/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ def fx_federation(request, pytestconfig):
"""
collaborators = []
agg_domain_name = "localhost"

# Parse the command line arguments
args = parse_arguments()
# Use the model name from the test case name if not provided as a command line argument
Expand Down
14 changes: 7 additions & 7 deletions tests/end_to_end/test_suites/task_runner_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ def test_torch_cnn_mnist(fx_federation):
"""
log.info("Testing torch_cnn_mnist model")

# # Setup PKI for trusted communication within the federation
# if not fx_federation.disable_tls:
# assert fed_helper.setup_pki(fx_federation), "Failed to setup PKI for trusted communication"
# Setup PKI for trusted communication within the federation
if not fx_federation.disable_tls:
assert fed_helper.setup_pki(fx_federation), "Failed to setup PKI for trusted communication"

# # Start the federation
# results = fed_helper.run_federation(fx_federation)
# Start the federation
results = fed_helper.run_federation(fx_federation)

# # Verify the completion of the federation run
# assert fed_helper.verify_federation_run_completion(fx_federation, results), "Federation completion failed"
# Verify the completion of the federation run
assert fed_helper.verify_federation_run_completion(fx_federation, results), "Federation completion failed"


@pytest.mark.keras_cnn_mnist
Expand Down
1 change: 1 addition & 0 deletions tests/end_to_end/utils/summary_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def main():
"""
Main function to get the test case results and aggregator logs
And write the results to GitHub step summary
IMP: Do not fail the test in any scenario
"""
result = get_testcase_result()

Expand Down

0 comments on commit 62732a9

Please sign in to comment.