Skip to content

Commit ec6f84e

Browse files
author
Roja Reddy Sareddy
committed
Add Mock setup for mtrl integ tests
1 parent 4707a1c commit ec6f84e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sagemaker-train/tests/integ/train/test_mtrl_evaluator_3p_agent.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def test_evaluate_with_lambda_agent_wait_for_completion(self, lambda_agent_arn,
270270
assert "pipeline" in execution.arn.lower()
271271
logger.info(f"Started 3P agent base model evaluation: {execution.arn}")
272272

273-
execution.wait(EVALUATION_TIMEOUT_SECONDS)
273+
execution.wait(timeout=EVALUATION_TIMEOUT_SECONDS)
274274
assert execution.status.overall_status in ("Succeeded", "Failed", "Stopped")
275275
logger.info(f"Execution completed: {execution.status.overall_status}")
276276

@@ -315,7 +315,7 @@ def test_evaluate_base_model_with_agent_lambda_object(self, lambda_agent_arn, te
315315
assert execution.arn is not None
316316
logger.info(f"Started CustomAgentLambda object evaluation: {execution.arn}")
317317

318-
execution.wait(EVALUATION_TIMEOUT_SECONDS)
318+
execution.wait(timeout=EVALUATION_TIMEOUT_SECONDS)
319319
assert execution.status.overall_status == "Succeeded"
320320

321321
def test_evaluate_with_attached_trainer(self, lambda_agent_arn, test_config):
@@ -343,5 +343,5 @@ def test_evaluate_with_attached_trainer(self, lambda_agent_arn, test_config):
343343
assert execution.arn is not None
344344
logger.info(f"Started attached trainer evaluation: {execution.arn}")
345345

346-
execution.wait(EVALUATION_TIMEOUT_SECONDS)
346+
execution.wait(timeout=EVALUATION_TIMEOUT_SECONDS)
347347
assert execution.status.overall_status == "Succeeded"

0 commit comments

Comments
 (0)