From 7b07e18606076b9f06e08894388ba19039a7731c Mon Sep 17 00:00:00 2001 From: Reed Hamilton Date: Wed, 8 Apr 2026 09:30:38 -0700 Subject: [PATCH] fix: update durable execution stop test for new behavior --- tests/integration/local/execution/test_execution.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/integration/local/execution/test_execution.py b/tests/integration/local/execution/test_execution.py index d2a944f3ce..68cbc3f174 100644 --- a/tests/integration/local/execution/test_execution.py +++ b/tests/integration/local/execution/test_execution.py @@ -63,12 +63,8 @@ def test_execution_stop_already_completed(self): # Try to stop already completed execution stop_command = [self.cmd, "local", "execution", "stop", execution_arn] result = run_command(stop_command) - stderr_str = result.stderr.decode("utf-8") if isinstance(result.stderr, bytes) else result.stderr - stderr_str = stderr_str.replace("\r\n", "\n") - self.assertNotEqual(result.process.returncode, 0) - expected_message = f"Error: An error occurred (409) when calling the StopDurableExecution operation: Execution {execution_arn} is already completed\n" - self.assertEqual(stderr_str, expected_message) + self.assertEqual(result.process.returncode, 0) @pytest.mark.tier1_extra def test_tier1_execution(self):